pip或者pytest Fatal error in launcher: Unable to create process using解决办法

移动python目录后,执行python\Scripts下的exe程序,提示如下

Fatal error in launcher: Unable to create process using '"e:\myidle\python3\python.exe" "F:\MyIDLE\Python3\Scripts\pytest.exe" ': ???????????
原因是修改目录后,exe里面的目录路径没有改变,使用Notpad++打开exe文件,拉到最底下,修改路径为移动后的python目录即可

 

posted @ 2021-12-21 16:18  佳宁  阅读(488)  评论(0编辑  收藏  举报