.whl 不是有效的 wheel 文件名,将失败的调试日志存储在 C:\
.whl is not a valid wheel filename, storing debug log for failure in C:\
我在通过 pip 安装 wheel 文件时遇到问题。
- 我打开命令提示符
在提示中写入以下内容
C:/Python34/Scripts/pip install C:/Users/Hamsa/Downloads/pygame.whl
然后我收到这条消息
pygame.whl is not a valid wheel filename. Storing debug log for failure in C:\Users\Hamsa\pip\pip.log
我不知道该怎么办,我需要你的帮助。
您应该更正安装 wheel 文件的名称格式。因为wheel文件名中还包含程序的版本、支持的python版本等很多信息。您的命令应该类似于下面的命令。
pip install pygame‑1.9.3‑cp34‑cp34m‑win_amd64.whl
如果@Harun 建议的答案无效,请尝试
python -m pip install <whl file name with complete path>.whl
如果您安装了 1 个以上的 Python 版本,请检查使用 python 哪个版本来安装软件包:
python -v
另请参阅 pygame readme 以获取官方安装指南。
我在通过 pip 安装 wheel 文件时遇到问题。
- 我打开命令提示符
在提示中写入以下内容
C:/Python34/Scripts/pip install C:/Users/Hamsa/Downloads/pygame.whl
然后我收到这条消息
pygame.whl is not a valid wheel filename. Storing debug log for failure in C:\Users\Hamsa\pip\pip.log
我不知道该怎么办,我需要你的帮助。
您应该更正安装 wheel 文件的名称格式。因为wheel文件名中还包含程序的版本、支持的python版本等很多信息。您的命令应该类似于下面的命令。
pip install pygame‑1.9.3‑cp34‑cp34m‑win_amd64.whl
如果@Harun 建议的答案无效,请尝试
python -m pip install <whl file name with complete path>.whl
如果您安装了 1 个以上的 Python 版本,请检查使用 python 哪个版本来安装软件包:
python -v
另请参阅 pygame readme 以获取官方安装指南。