![](/img/trans.png)
[英]Module fails to import when installing from github repo as egg in pip
[英]Error when installing github module via pip
我正在嘗試使用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
為什么不安裝任何見解?
最近安裝硒時,我遇到了類似的問題。 首先升級您的畫中畫。 然后嘗試安裝您要安裝的所有產品。
模塊不包含setup.py文件。
最終做了:
git clone https://ADDRESS .
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.