2

从今天早上开始,无法使用以下命令安装海狸(36.0.1 或 36.1.0):

pip install beaver==36.0.1

错误如下:

failed: [etg-log-tmp] => {"cmd": "/usr/bin/pip install beaver==36.0.1", "failed": true}
msg: stdout: Downloading/unpacking beaver==36.0.1
Downloading/unpacking conf-d>=0.0.4 (from beaver==36.0.1)
  Downloading conf_d-0.0.4.tar.gz
  Running setup.py (path:/tmp/pip-build-Y21cqz/conf-d/setup.py) egg_info for package conf-d

Downloading/unpacking kafka-python==0.9.5 (from beaver==36.0.1)
  Running setup.py (path:/tmp/pip-build-Y21cqz/kafka-python/setup.py) egg_info for package kafka-python

Downloading/unpacking python-daemon>=1.5.2,<=1.6.1 (from beaver==36.0.1)
  Running setup.py (path:/tmp/pip-build-Y21cqz/python-daemon/setup.py) egg_info for package python-daemon

Downloading/unpacking glob2==0.3 (from beaver==36.0.1)
  Downloading glob2-0.3.tar.gz
  Running setup.py (path:/tmp/pip-build-Y21cqz/glob2/setup.py) egg_info for package glob2

Downloading/unpacking pika>=0.9.14 (from beaver==36.0.1)
Downloading/unpacking msgpack-pure>=0.1.3 (from beaver==36.0.1)
  Downloading msgpack-pure-0.1.3.tar.gz
  Running setup.py (path:/tmp/pip-build-Y21cqz/msgpack-pure/setup.py) egg_info for package msgpack-pure

Requirement already satisfied (use --upgrade to upgrade): boto>=2.18.0 in /usr/lib/python2.7/dist-packages (from beaver==36.0.1)
Downloading/unpacking redis>=2.7.5 (from beaver==36.0.1)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from beaver==36.0.1)
Downloading/unpacking mosquitto>=1.1 (from beaver==36.0.1)
  Could not find any downloads that satisfy the requirement mosquitto>=1.1 (from beaver==36.0.1)
Cleaning up...
No distributions at all found for mosquitto>=1.1 (from beaver==36.0.1)
Storing debug log for failure in /root/.pip/pip.log

任何帮助将不胜感激。

JM。

4

1 回答 1

2

更新:一个新的 pip 包已经发布(36.2.0)。如果您像我一样使用厨师海狸食谱,则必须将其配置为明确使用 36.2.0 及以上版本。

或者:这已在 master 上修复,现在您可以使用pip install git+git://github.com/python-beaver/python-beaver.git@master#egg=beaver直到 pip 包更新。

于 2016-04-12T11:45:43.943 回答