requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/current_repodata.json
如上,创建虚拟环境时显示找不到源,查看.condarc文件
这是我文件中的内容,显示的是镜像源的情况,由于很久没做项目了,基本上都是直接有jupyter的,有些源可能没法用,删掉这个文件夹,直接创建虚拟环境即可。
那么下载python第三方库的时候,如何提升速度呢?现在可用的 conda 镜像站点
pip install 包名 -i https://pypi.tuna.tsinghua.edu.cn/simple 只有是python的依赖库 都可以用这个源,速度很快 scipy,pandas等等。