返回信息流最近在处理数据,需要更新pandas包的版本。因为之前使用默认的镜像源更新的速度比较慢,所以手动找到了两个国内的更新源:
清华源:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
中科大源:
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
conda config --set show_channel_urls yes
但是在成功更新pandas包之后,在进行import的时候发现了所numpy包的问题
pandas One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.
所以开始使用conda uninstall numpy命令卸载所有的numpy包,但是又发现了环境不一致的现象:
Anaconda:The environment is inconsistent, please check the package plan carefully
经过检查发现和使用国内的conda更新源有关,网页链接:https://blog.csdn.net/weixin_35436966/article/details/91045470
所以只能使用命令conda list -r和conda install --revision <number>回滚环境,重新使用较慢的默认源进行更新安装。所以国内的anaconda源是不是都黄了,如果没有,还有稳定的源推荐么?
这是一条镜像帖。来源:北邮人论坛 / python / #24659同步于 2019/12/13
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖
国内的anaconda更新源是不是都黄了?
gxlihao
2019/12/13镜像同步10 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
这个装PyTorch的时候会自动装相应版本的cudatoolkit和cudnn吗?
【 在 qingliu (qingliu) 的大作中提到: 】
: virtualenv
清华的源后来拿到授权了
https://mirrors.tuna.tsinghua.edu.cn/news/anaconda-restored/
https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/