windows使用conda时出现报错ProxyError: Conda cannot proceed due to an error in your proxy configuration
在windows命令行中使用conda时,出现报错:
ProxyError: Conda cannot proceed due to an error in your proxy configuration. Check for typos and other configuration errors in any ‘.netrc’ file in your home directory, any environment variables ending n ‘_PROXY’, and any other system-wide proxy configuration settings.
在stackoverflow中有几种(解决方法)[https://stackoverflow.com/questions/58797984/how-to-solve-an-error-that-appears-in-conda-proxy-configuration],、经过研究后发现是由于在windows中使用了VPN,系统自动使用了proxy代理导致,这里记录一下解决办法。
修改~/.condarc文件的ssl_verify和proxy_servers,如果没有的话自行添加,proxy_server具体的端口号在VPN软件中有标注,注意区分http和https
ssl_verify: false
channels:
- defaults
proxy_servers:
http: http://127.0.0.1:10809
https: http://127.0.0.1:10809
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· spring官宣接入deepseek,真的太香了~