当安装PyQt6时,经常会存在安装请求超时,

正常执行是

pip install PyQt6

超时报错:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

此时可以把安装命令改成

pip install PyQt6 --timeout 100