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 命令

在这里插入图片描述