1. Error report
When downloading the third-party library tensorflow, an error occurred:
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out
2. Solutions
Find the terminal in the lower left corner of pycharm and enter the command:
pip --default-timeout=100 install tensorflow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
This command can switch the download source and speed up the download speed.
3. The final download is successful