- 修改下载源为国内源可以改善第三方包下载速度缓慢的问题。修改conda下载源的方法详见:https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
- 在base 环境创建新环境
- conda env list #查看环境
- 切换到新环境
- 在新环境安装pillow、pyinstaller包
conda install pillow conda install pyinstaller
- 新环境安装应用所需的其他包,以pygame为例
conda install pygame 或 pip3 install pygame
7.进入程序所在文件夹&#