1. 程式人生 > >利用pip安裝python的pydotplus包時出現超時

利用pip安裝python的pydotplus包時出現超時

利用pip安裝python包時出現超時

今天在安裝pydotplus時一直出現超時現象,報錯如下:

HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

搜尋之後查到的解決辦法是加大超時時間

pip --default-timeout=100 install -U pydotplus

加大超時時間之後就安裝好啦,又get到一個新的知識點~~~~