【发布时间】:2017-05-18 00:56:02
【问题描述】:
尝试使用 pip 为 Python 2.7.13 (windows x64) 安装 pyad 包。
需求中有pywin32包,所以我们得到一个错误:
C:\Windows\system32>pip install pyad
Collecting pyad
Using cached pyad-0.5.16.tar.gz
Requirement already satisfied: setuptools in c:\python27\lib\site-packages (from pyad)
Collecting pywin32 (from pyad)
Could not find a version that satisfies the requirement pywin32 (from pyad) (from versions: )
No matching distribution found for pywin32 (from pyad)
然后我安装pypiwin32,它曾经在这种情况下工作:
C:\Windows\system32>pip install pypiwin32
Collecting pypiwin32
Using cached pypiwin32-219-cp27-none-win32.whl
Installing collected packages: pypiwin32
Successfully installed pypiwin32-219
但是在此之后我仍然无法安装pyad,并出现与上述相同的错误,例如从未安装过pypiwin32:
C:\Windows\system32>pip install pyad
Collecting pyad
Using cached pyad-0.5.16.tar.gz
Requirement already satisfied: setuptools in c:\python27\lib\site-packages (from pyad)
Collecting pywin32 (from pyad)
Could not find a version that satisfies the requirement pywin32 (from pyad) (from versions: )
No matching distribution found for pywin32 (from pyad)
文件夹C:\Python27\Lib\site-packages\pywin32_system32 存在,pypiwin32 包似乎已安装。
有解决这个问题的想法吗?
【问题讨论】: