background:
Error when installing PyQt5, timeout, you know the external network
solve:
Directly read and install through the mirror url
Previous command:
pip3 install PyQt5
Command after fix:
pip3 install --index-url yoururl PyQt5 For example, the url is: https://pypi.douban.com/simple pip3 install --index-url https://pypi.douban.com/simple PyQt5