Fatal error in launcher: Unable to create process using/ Defaulting to user installation because nor

Fatal error in launcher: Unable to create process using/Defaulting to user installation because normal site-packages is not writeable

Fatal error in launcher: Unable to create process using启动器中的致命错误:无法使用 创建进程
Fatal error in launcher: Unable to create process using/ Defaulting to user installation because nor_第1张图片
报错:pyinstaller的路径重复

Fatal error in launcher: Unable to create process using/ Defaulting to user installation because nor_第2张图片
报错; Defaulting to user installation because normal site-packages is not writeable默认用户安装,因为正常的站点包不可写入

尝试重装python
尝试卸载
都未能解决问题

思路:尝试卸载重装也没有解决路径无法选择问题,并且环境变量我也设置正确,既然我有两个python37路径无法确定,那就不用python37,下载python3.8进行安装

重装python3.8,升级

重装pyinstaller

pip install pywin32;
pip install wheel
pip install pyinstaller

若报错pyinstaller不是内部或外部命令,则

C:\Users\kun\AppData\Roaming\Python\Python38\Scripts
中的pyinstaller.exe
Fatal error in launcher: Unable to create process using/ Defaulting to user installation because nor_第3张图片

复制到
C:\Program Files\Python38\Scripts
Fatal error in launcher: Unable to create process using/ Defaulting to user installation because nor_第4张图片

运行成功

Fatal error in launcher: Unable to create process using/ Defaulting to user installation because nor_第5张图片

你可能感兴趣的:(报错日志)