问题:
同时安装多个版本的python就会出现一大堆问题。今天遇到的问题是:我使用pyinstaller
打包python文件的时候错误提示failed to create process.
。
解决方法:
1.找到Python36\Scripts
下的pyinstaller.exe
文件,重命名为pyinstaller3.6.exe
。
2.使用命令pyinstaller3.6
即可。
(pip
或是其他提示failed to create process.
的均可以通过重命名解决。)