我尝试按照这个名为https://github.com/conda-forge/python-wget-feedstock的网站的说明来安装wget。但是,我得到如下所示的错误消息,并且我不知道它的实际含义。有没有办法在windows10中从anaconda安装wget?
使用conda install -c menpo wget时出错
发布于 2020-03-05 14:33:46
如果您检查错误消息,您将看到连接超时,这很可能与您的代理配置有关。
使用此命令查看proxy_servers
conda config --show
如果存在任何代理服务器,您可以通过以下方式将其删除
conda config --remove-key proxy_servers.
它将从anaconda配置中删除已保存的代理服务器。然后跑,
conda clean --source-cache
但是,如果您使用的是公司代理,则必须正确设置它们。
set http_proxy=http://username: password@domain.com:{port}
set https_proxy=https://username: password@domain.com:{port}
发布于 2020-03-05 14:12:32
试试这个
conda install -c menpo wget
发布于 2020-04-11 15:15:37
尽管我过去经常使用wget
(在PHP语言中,在过去),但在我看来,如果可能的话,您最好改用requests
来调整您的工作流程。
我花了几个小时与蟒蛇搏斗,试图让wget
安装在Win10 x64版本上,最终我咬紧牙关,重构了一些东西,以摆脱这种依赖。
在我的经验中,requests
并不比wget
慢:我每个月下载非常大的地理信息系统数据文件(总计约3.4 no ),总下载时间基本上不会因为切换而改变。
https://stackoverflow.com/questions/60539089
复制相似问题