1. Python报错pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out解决方法:
输入指令:pip3 --default-timeout=100 install 库名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com ;
2. 安装cv2出错解决方式:
输入指令:
3. You should consider upgrading via the 'd:pythonpython38python.exe -m pip install --upgrade pip' command.的解决方法:
按照要求将d:fishvenvlibsite-packages (20.0.2) 中的pip-20.0.2.dist-info删除,再次运行python -m pip install --upgrade pip 后升级成功