2017-08-11 27 views
0
安裝軟件包

的代碼是:Error'raise locationparseerror <url> .failed到parse'when在樹冠

pip install adict 

我得到的錯誤raise locationparseerror<url>.failed to parse:<ssfcc.pw>:<10029>

然後我配置樹冠網絡根據https://support.enthought.com/hc/en-us/articles/204469150-Using-Canopy-Behind-a-Proxy-Firewall

但是當測試這些代理規格時,引發錯誤: enter image description here 我重新啓動樹冠,運行代碼'pip install adict',得到錯誤'無法打開爲adict'找到的清分佈。 我嘗試了其他一些軟件包,引發同樣的錯誤。 而我試圖重新裝上頂蓋,這是沒有用的。我使用的是Windows 7和頂蓋2.1.3。 我認爲我的代理設置中存在一些問題,我應該怎麼做才能解決問題?

+0

「我嘗試了其他一些軟件包,引發同樣的錯誤。」 ...請提供最簡單的完整錯誤消息/追溯。 –

+0

實際上,如果您從Canopy「幫助」菜單(反饋錯誤)提交支持請求,可能最容易。請包括詳細網絡訪問測試的輸出,並參考此SO問題。 –

+0

感謝您的回覆。實際上,我按照https://support.enthought.com/hc/en-us/articles/204469690-Installing-packages-into-Canopy-User-Python-from-中所述的步驟安裝軟件包。所述-OS的命令行。 – susan

回答

0

我在計算機中刪除了有關代理的環境變量。問題解決了。