When used today pip3 installation jupyter, always being given:
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
The solution: use a mirror, as follows:
pip3 install -i https://pypi.douban.com/simple jupyter
Or use other sources:
(1)pip install -i https://pypi.tuna.tsinghua.edu.cn/simple module_name (2)pip install -i https://pypi.douban.com/simple module_name
pip appears ReadTimeoutError under normal circumstances because of the GFW to the wall, so usually encounter this problem, we can choose a mirror image of the country to solve the problem.
In Windows: C: \ the Users \ New pip file Administrator \ folder under, creating pip.ini file, copy the code below into it, save it. [ , Ltd. Free Join ] index -url = HTTPS: // pypi.tuna.tsinghua.edu.cn/simple in fact, the python source into the Tsinghua source, should be able to solve the problem. Prolonged latency problem perfectly under windows in cmd, linux enter the following command at the terminal: PIP - default -timeout = 100 the install -U PIP
Reference: https: //www.jb51.net/article/171335.htm
For a variety of problems, users always have a lot of hard-core solution, really admire admire, where do the next record, to facilitate review.