pywin32-221-cp34-cp34m-win_amd64.whl不是此平台上支持的滚轮

时间:2018-01-05 19:23:00

标签: python cmd installation pywin32

我跑了

C:\Python34\Scripts\pip install C:\Python34\pywin32-221-cp34-cp34m-win_amd64.whl

和命令提示符回复了消息(我作为管理员运行cmd)

pywin32-221-cp34-cp34m-win_amd64.whl is not a supported wheel on this platform.

我真的不知道如何解决这个问题。我已经在互联网上查看了类似问题的其他答案,并且所有解决方案似乎都涉及为他们正在安装文件的计算机(64位,右侧python版本)下载正确的.whl文件,但是:

我正在使用python 3.4 - “cp34”

这是我的python shell在使用platform.architecture()

时的样子
import platform
platform.architecture()
('64bit', 'WindowsPE')"

我的操作系统是64位

我已经安装了pip

我尝试了.whl文件的每个“cp34”版本,所有这些文件都返回相同的错误

希望你能帮忙!谢谢, 萨姆

p.s我从c盘中删除python31文件后运行了cmd:

C:\WINDOWS\system32>C:\Python34\Scripts\pip install C:\Python34\pywin32-221-cp34-cp34m-win_amd64
Exception:
Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Python34\lib\site-packages\pip\commands\install.py", line 257, in run
    InstallRequirement.from_line(name, None))
  File "C:\Python34\lib\site-packages\pip\req.py", line 172, in from_line
    return cls(req, comes_from, url=url, prereleases=prereleases)
  File "C:\Python34\lib\site-packages\pip\req.py", line 70, in __init__
    req = pkg_resources.Requirement.parse(req)
  File "C:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2606, in parse
    reqs = list(parse_requirements(s))
  File "C:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2544, in parse_requirements
    line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
  File "C:\Python34\lib\site-packages\pip\_vendor\pkg_resources.py", line 2512, in scan_list
    raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'C:\\Python34\\pywin32-221-cp34-cp34m-win_amd64', 'at', ':\\Python34\\pywin32-221-cp34-cp34m-win_amd64')

Storing debug log for failure in C:\Users\ScHr0dZtEr\pip\pip.log

0 个答案:

没有答案