Win10安裝PyInstaller遇到Bug“Read timed out”解決方法

Win10環境下PyCharm安裝PyInstaller過程中遇到Bug:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
然後在cmd中嘗試安裝,依然遇到一堆Bug如下:
在這裏插入圖片描述最終參考這篇博文,找到解決方案:參考
出現ReadTimeOutError是由於網速的問題,最終通過命令如下命令,安裝成功:

pip --default-timeout=1000 install -U PyInstaller==3.3 

這裏指定PyInstaller版本爲3.3,目前最新版爲3.6.
在這裏插入圖片描述
記錄下來以備忘。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章