本文介绍了pip安装错误“没有这样的文件或目录:setup.py"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到安装错误,因为pip找不到setup.py.
I'm getting installation error because pip couldn't find setup.py.
sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
我收到此错误消息.
Downloading/unpacking https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Downloading tensorflow-0.5.0-cp27-none-linux_x86_64.whl (10.9Mb): 10.9Mb downloaded
Running setup.py egg_info for package from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-GdGgbz-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-GdGgbz-build/setup.py'
谁能告诉我如何解决这个问题?
Can anyone tell me how to solve this problem?
谢谢.
推荐答案
来自 https://github.com/tensorflow/tensorflow/issues/56
这篇关于pip安装错误“没有这样的文件或目录:setup.py"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!