“failed to create process.”的解决方法

问题:
同时安装多个版本的python就会出现一大堆问题。今天遇到的问题是:我使用pyinstaller打包python文件的时候错误提示failed to create process.。

解决方法:
1.找到Python36\Scripts下的pyinstaller.exe文件,重命名为pyinstaller3.6.exe。
2.使用命令pyinstaller3.6即可。

(pip或是其他提示failed to create process.的均可以通过重命名解决。)

评论

暂无评论