I managed to install pip but when I use pip to install the downloaded wheel, it prints:
C:Python34Scriptspip install pygame-1.9.2a0-cp34-none-win_amd64.whl
Requirement 'pygame-1.9.2a0-cp34-none-win_amd64.whl' looks like a filename, but the file does not exist
pygame-1.9.2a0-cp34-none-win_amd64.whl is not a supported wheel on this platform
The file is in the same folder (Scripts) with pip.
I did try to use the wheel
tool too:
C:Python34Scriptswheel install pygame-1.9.2a0-cp34-none-win_amd64.whl
Traceback (most recent call last):
File "C:Python34libsite-packageswheelool\__init__.py", line 358, in main
args.func(args)
File "C:Python34libsite-packageswheelool\__init__.py", line 301, in install_f
args.wheel_dirs, args.force, args.list_files)
File "C:Python34libsite-packageswheelool\__init__.py", line 202, in install
raise WheelError("No such wheel file: {}".format(req))
wheel.tool.WheelError: No such wheel file: pygame-1.9.2a0-cp34-none-win_amd64.whl
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:Python34lib
unpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "C:Python34lib
unpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:Python34Scriptswheel.exe\__main__.py", line 9, in <module>
File "C:Python34libsite-packageswheelool\__init__.py", line 361, in main
sys.stderr.write(e.message + "
")
AttributeError: 'WheelError' object has no attribute 'message'
I use PowerShell, please help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…