pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

搞了一个下午那个whl文件一直都是这个样子pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
然后又拿了一个32位的来试一下也是一样的效果。

这里我装的是一个python3.5.1的环境
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

whl文件问题

1、首先我下载的pygame-1.9.6-cp35-cp35m-win_amd64.whl是在添加链接描述这里下载的。

2、接着去找了官网添加链接描述的一个1.9.6版本的一个包下载下来
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
然后打开
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
里面又一个setup.py文件打开后都选了Yes。由于已经装好出现的效果不一样这里就不附上图。

再打开命令行用Pip install C:\Users\admin\AppData\Local\Programs\Python\Python35\Scripts\pygame-1.9.6-cp35-cp35m-win_amd64.whl又试了一下
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
出现了黄色字段,翻译了一下。
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
需要更新,然后就按着来说去更新python -m pip install --upgrade pip
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
成功了。本来还没有下载官网那个包的时候我也试过更新但是不成功。

4、最后pip install C:\Users\admin\AppData\Local\Programs\Python\Python35\Scripts\pygame-1.9.6-cp35-cp35m-win_amd64.whl
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
就可以了
pygame安装问题pygame-1.9.6-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

相关文章: