首先排除环境变量设置问题
其次如果python安装pip后更改了目录,也会导致同样问题。解决方案:用python绝对路径重新安装pip
F:\Python\Python38\python -m pip install --upgrade pip
强制重新安装:
F:\Python\Python38\python -m pip install -U --force-reinstall pip
首先排除环境变量设置问题
其次如果python安装pip后更改了目录,也会导致同样问题。解决方案:用python绝对路径重新安装pip
F:\Python\Python38\python -m pip install --upgrade pip
强制重新安装:
F:\Python\Python38\python -m pip install -U --force-reinstall pip