You are using pip version 9.0.1, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
按照提示运行命令:
python -m pip install --upgrade pip
报错:
(torch-cpu1.4) C:\Users\Tang Qifei>python -m pip install --upgrade pip
Could not fetch URL https://mirrors.ustc.edu.cn/pypi/web/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)- skipping
Requirement already up-to-date: pip in d:\biancheng\anoconda3-2021.11\envs\torch-cpu1.4\lib\site-packages
You are using pip version 9.0.1, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Collecting pip
Downloading http://pypi.doubanio.com/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
100%|████████████████████████████████| 1.7MB 11.4MB/s
Installing collected packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-21.3.1
You are using pip version 21.3.1, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
检查是否安装成功:
(torch-cpu1.4) C:\Users\Tang Qifei>python -m pip install --upgrade pip
Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple
Requirement already satisfied: pip in d:\biancheng\anoconda3-2021.11\envs\torch-cpu1.4\lib\site-packages (21.3.1)