成功解决anaconda下安装报错:PackagesNotFoundError: The following packages are not available from current chann

解决anaconda下安装包时报错:PackagesNotFoundError: The following packages are not available from current channels

以安装icecream包为例

输入conda install icecream安装时,显式报错.
成功解决anaconda下安装报错:PackagesNotFoundError: The following packages are not available from current chann_第1张图片

那么我们就查询包所存在的版本,输入如下命令:

anaconda search -t conda icecream

然后会出现很多信心,选择自己需要的安装包
成功解决anaconda下安装报错:PackagesNotFoundError: The following packages are not available from current chann_第2张图片

根据需求选择自己要安装包的版本,输入以下命令查看安装渠道

anaconda show conda-forge/icecream

成功解决anaconda下安装报错:PackagesNotFoundError: The following packages are not available from current chann_第3张图片

根据提示命令进行安装

conda install --channel https://conda.anaconda.org/conda-forge icecream

你可能感兴趣的:(Python,专题,python)