【发布时间】:2016-03-09 05:41:15
【问题描述】:
当我尝试通过输入 cmd C:\Users\owner\Downloads>pip install TA_Lib-0.4.9-cp27-none-win_amd64.WHL从 gohike 安装任何 .WHL 时,我会打印出来:
`Processing c:\users\owner\downloads\ta_lib-0.4.9-cp27-none-win_amd64.whl
Complete output from command python setup.py egg_info:
Traceback <most recent call last>:
File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory:'c:\\users\\owner\\appdata\\lo
cal\\temp\\pip-9gwk2c-build\\setup.py'
-----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\owner\ap
pdata\local\temp\pip-9gwk2c-build\`
pip- 和-build inpip-9gwk2c-build 之间的部分即使在同一个文件中也总是不同的。
几天前我问过这个Python 2.7.11 Pip 8.0.3 can't install gohike WHL of TA-Lib 0.4.9,并决定换个方式问。感谢任何可以帮助我的人!
【问题讨论】:
-
检查
pip-9gwk2c-build文件夹中是否有setup.py -
检查你的 pip 版本
-
@TonyRoczz *没有有 setup.py。
-
@AnttiHaapala 我要求检查,因为错误日志在临时目录中显示
No such file or directory -
当然你问了,答案是“不”,那个临时目录中没有 setup.py。