python下载python安装包

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

 

python 2.7安装pygame报错解决办法pygame-1.9.4-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

 

下载完后进入cmd命令行执行安装,报错:

pygame-1.9.4-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
Storing debug log for failure in C:\Users\yinrongwei\pip\pip.log

python 2.7安装pygame报错解决办法pygame-1.9.4-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

解决办法:在python的shell中输入:import pip; print(pip.pep425tags.get_supported()) 

python 2.7安装pygame报错解决办法pygame-1.9.4-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

从返回的内容看,电脑python支持的格式是以上格式,所以将下载下来的文件名改成了:pygame-1.9.4-cp27-none-win_amd64.whl

然后再使用cmd命令安装就ok了。

 

相关文章:

  • 2022-12-23
  • 2021-09-29
  • 2021-04-11
  • 2021-09-04
  • 2021-04-30
  • 2021-04-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2021-05-27
  • 2022-01-11
  • 2021-05-05
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
相关资源
相似解决方案