pygame问题:Could not install packages due to an EnvironmentError: [Errno 2]的解决办法

首先,去官网下载相应版本的pygame
之后呢,我们下载到了文件pygame问题:Could not install packages due to an EnvironmentError: [Errno 2]的解决办法把这个文件复制到python3.7的script文件中,如图:
pygame问题:Could not install packages due to an EnvironmentError: [Errno 2]的解决办法之后呢,就是开始键+R,输入cmd,得到运行窗口
输入pip.exe的路径(如下面的图),再输入install,接着复制粘贴pygame的文件名(包括后缀名.whl)
如果我们安装成功自然很好,however,
我们在安装pygame时,很可能会遇到这样的问题:

pygame问题:Could not install packages due to an EnvironmentError: [Errno 2]的解决办法窗口上的红色英文是:ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: ‘C:\Users\DELL\pygame-1.9.6-cp37-cp37m-win_amd64.whl’

我的英语也不咋好,但大致意思看明白就是:在’C:\Users\DELL\中找不到我们要的pygame文件
所以怎么办呢,答案很简单,把这个pygame文件放到这个地方就好了
如下图
pygame问题:Could not install packages due to an EnvironmentError: [Errno 2]的解决办法

之后再输入一遍,我们就可以看到
pygame问题:Could not install packages due to an EnvironmentError: [Errno 2]的解决办法问题解决,yeah!!