pip不会安装.WHL文件 [英] pip wont install .WHL files
问题描述
当我尝试通过键入cmd C:\Users\owner\Downloads>pip install TA_Lib-0.4.9-cp27-none-win_amd64.WHL
从gohike安装任何.WHL时,我会得到以下打印输出:
When I try to install any .WHL from gohike by typing into the cmd C:\Users\owner\Downloads>pip install TA_Lib-0.4.9-cp27-none-win_amd64.WHL
I get this print out:
`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 in pip-9gwk2c-build
之间的部分也总是不同的.
The part between pip- and -build inpip-9gwk2c-build
is always different even on the same file.
I asked this Python 2.7.11 Pip 8.0.3 can't install gohike WHL of TA-Lib 0.4.9 a few days ago and decided to ask differently. Thanks to anyone who can help me!
推荐答案
您有一个过时的pip
,无法理解轮子.车轮内部甚至都不应该有setup.py
.
You have an outdated pip
which does not understand wheels. Wheels are not even supposed to have a setup.py
inside.
尝试使用pip install --upgrade pip
升级pip,然后再次运行命令.
Try upgrading pip with pip install --upgrade pip
and then running the command again.
这篇关于pip不会安装.WHL文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!