1、如果提示版本过低可以使用以下命令能解决很多问题
WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the ‘D:\Python\python.exe -m pip install --upgrade pip’ command.
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
2、当安装第三方库时经常抛出超时异常时,不妨试试使用镜像安装
pip install requests -i http://pypi.douban