在使用pip安装其他库时,提示
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available. You should consider upgrading via the ‘e:\anaconda3\python.exe -m pip install --upgrade pip’ command.
然后使用pip install --upgrade pip命令进行pip更新,但是出现
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘e:\anaconda3\scripts\pip.exe’ Consider using the --user option or check the permissions.
然后再使用pip命令,提示
ModuleNotFoundError: No module named ‘pip’
在终端中输入分别下面两条命令
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py --force-reinstall