0

我似乎在安装 pygame 时遇到问题。我从 idf.uci.edu 找到了非官方的二进制文件,但它们是 whl 文件,我无法提取此类文件。有人可以将我链接到 .exe 文件或告诉我如何提取 whl 文件吗

谢谢

4

2 回答 2

1

.wlh 安装指南:https ://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels

exe文件:pygame-1.9.2a0.win-amd64-py3.4.exe (onedrive)

于 2015-03-16T19:23:39.213 回答
1

找到解决方案

1) 7zip 解压缩 whl 文件。将pygame文件夹放在lib文件夹中

2) 或者将 whl 文件放在脚本文件夹中。从命令行导航到脚本文件夹并运行“pip install and the file name”按回车键安装

测试)
在空闲时键入 import pygame - 没有错误,没有问题。

于 2015-02-03T19:13:09.447 回答