canda 问题汇集
1、conda 的 “Solving environment: failed” 问题
跟新 .condarc 文件的内容:
channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
show_channel_urls: true
ssl_verify: false
2、PackagesNotFoundError: The following packages are not available from current channels:
- pygame
解决方案:
1) 查找包
anaconda search -t conda pygame
2) 查看安装详情
anaconda show delichon/pygame
3) 安装
conda install --channel https://conda.anaconda.org/delichon pygame
非学无以广才,非志无以成学。