



















解决代理出错和 Solving environment 卡死的问题
2023-08-27 177字 1分钟 Chenxu Python
开始是使用 conda 安装, 但是一直报错 ProxyError

这个错误把系统代理 (翻墙软件) 关掉就可以解决
然后又一直卡在 Solving environment, 强制退出后出现 Solving environment: failed with initial frozen solve. Retrying with flexible solve. 的报错

考虑到可能是 conda 没有更新, 于是进行更新
conda update -n base conda
但问题还是没有解决, 然后加了一堆镜像源, 还是出错
后来看了这篇文章
, 将.condarc 中的内容全部删除, 然后在安装的时候指定镜像源, 问题成功解决
pip install scrapy -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。