通过pip安装github模块时出错

时间:2015-07-08 03:29:25

标签: python github pip anaconda

我正在尝试使用pip从github下载python模块,但我似乎在下载时遇到了问题:

00000@ubuntu-00000:~/Desktop/Python/Blockchain.data$ pip install git+https://github.com/luke-jr/eloipool.git
You are using pip version 7.0.3, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting git+https://github.com/luke-jr/eloipool.git
  Cloning https://github.com/luke-jr/eloipool.git to /tmp/pip-f159a1wz-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 18, in <module>
      File "/home/00000/anaconda3/lib/python3.4/tokenize.py", line 438, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-f159a1wz-build/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-f159a1wz-build

了解为什么不安装?

2 个答案:

答案 0 :(得分:0)

我最近在安装硒时遇到了类似的问题。首先升级您的PIP。然后尝试安装您尝试安装的内容。

答案 1 :(得分:0)

模块不包含setup.py文件。

结束了:

git clone https://ADDRESS .