安装pygame

安装pygame

 http://www.cnblogs.com/yuanzm/p/4089856.html?utm_source=tuicool&utm_medium=referral

环境变量设置

cd 改变目录很重要,在安装之前一定要改变到pygame的目录下

安装pygame

路径对了,现在的问题?

一。You are using pip version 9.0.1, however version 10.0.1 is available.

二、pygame-1.9.3-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform

      You are using pip version 9.0.1, however version 10.0.1 is available.

        You should consider upgrading via the 'python -m pip install --upgrade pip' command.

        原因:这个问题主要是版本没有更新的意思,更新一下就好了(小声哔哔)

       解决方法:输入python -m pip install --upgrade pip命令更新一下就好了

结果如下

 pip 的安装包装到一半就出问题了,解决方法多试几次,我试了三次才成功。

问题2:is not supported wheel on this platform  版本不合适,检查你的python版本和pygame是否一致,cmd 中python一下,以这个为标准,在pycharm中我看到的是python3.5,结果是3.6。最后成功了

问题1:looks like a filename , but the file does not exit............说明路径不对

安装pygame