2017-08-11 28 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

我在计算机中删除了有关代理的环境变量。问题解决了。