所以我有这个小问题.当我尝试为Python 3.4安装PyGame时,我下载了一个.whl(wheel?)文件,但不知道如何使用它.有些人告诉我有关pip的事情,但不知道如何使用/安装它.
我设法安装了pip,但是当我使用pip安装下载的轮子时,它会打印:
C:\Python34\Scripts\pip 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
Run Code Online (Sandbox Code Playgroud)
该文件与pip位于同一文件夹(Scripts)中.
我也尝试过使用该wheel工具:
C:\Python34\Scripts\wheel install pygame-1.9.2a0-cp34-none-win_amd64.whl
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\wheel\tool\__init__.py", line 358, in main
args.func(args)
File "C:\Python34\lib\site-packages\wheel\tool\__init__.py", line 301, in install_f
args.wheel_dirs, args.force, args.list_files)
File "C:\Python34\lib\site-packages\wheel\tool\__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: …Run Code Online (Sandbox Code Playgroud)