pip3 install xxx, Fatal error in launcher: Unable to create process using '"C:\Software\Python310\python.exe" "D:\xxxx\Software\Python310\Scripts\pip3.exe" install shutil': ???????????
重装系统后, 移动了python所在目录后, 使用 pip3 install xx 提示:
Fatal error in launcher: Unable to create process using '"C:\Software\Python310\python.exe" "D:\Aliwall\Software\Python310\Scripts\pip3.exe" install shutil': ???????????
直接 cmd python 一切正常, 排除环境变量问题.
尝试更新 或者 强制重装pip
pip 强制重装
python -m pip install --upgrade --force-reinstall pip
pip更新
python -m pip install --upgrade pip
问题解决.
shutil 模块是python标准库的模块, 直接 import即可, 不需要pip install去下载了.