1. pip在指定Python版本下安装
pip install -t D:\python3.5(32bit)\Lib\site-packages -i https://pypi.douban.com/simple PyInstaller
注:
-t D:\python3.5(32bit)\Lib\site-packages:这里-t后面指定位置
-i https://pypi.douban.com/simple PyInstaller:换源利用镜像加速下载
2指定版本的python运行
D:\PYTHON\python.exe 命令
![在这里插入图片描述](https://img-blog.csdnimg.cn/d60b2434ec6b4289b50f1e0dabf4ec25.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBAc3Vlb25n,size_20,color_FFFFFF,t_70,g_se,x_16)