好久没有用python,近期开发的系统各种原因没法自测,密钥,session,第三方验证一大堆,7~8层过滤拦截,所以打算用python写一个脚本访问自己的接口,然后就发生了,找第三方库找不到了的情况,还好有印象镜像源是不一样的,pip安装的话默认就是清华豆瓣阿里啥的,anaconda的镜像源路径和这些不一样,改一下就好了
友情提示:用prompt设置,上面那个页面我是没用明白
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 --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
这句话不知道干啥的,网上都这么写
conda config --set show_channel_urls yes
conda config --show channels