新手在搭笔记本中Python环境的时候遇到的一个“pip”问题
先看我的控制台
第一次输入
“pip install virtualenv”
主要最后提示我
WARNING: You are using pip version 19.2.3, however version 20.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
第二次输入
python -m pip install -U --force-reinstall pip
错误提示一样,仍然是版本
最后发现源有问题,后来查到一些大佬说用国内源后来加了地址
第三次输入
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
感谢大佬们提供的帮助
print('感谢大佬')