PackagesNotFoundError: The following packages are not available from current channels:

PackagesNotFoundError: The following packages are not available from current channels:

问题描述

工具:pycharm,anaconda

出现如下报错
在这里插入图片描述

解决方案

第一种(以wordcloud为例)

conda install -c conda-forge wordcloud
//或者
pip install -c conda-forge wordcloud

第二种(SimpleITK为例)

anaconda search -t conda SimpleITK #查询包所存在的版本

在这里插入图片描述
根据需求选择自己要安装包的版本,输入以下命令查看安装渠道

anaconda show Alkibiades/simpleitk

在这里插入图片描述

进行安装

conda install --channel https://conda.anaconda.org/SimpleITK SimpleITK

参考文章
https://www.jianshu.com/p/9982faff1d3e


版权声明:本文为qq_44391572原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。