python安装包报错:PackagesNotFoundError: The following packages are not available from current channels

以安装SimpleITK包为例,安装时,显示下图错误

conda install SimpleITK

python安装包报错:PackagesNotFoundError: The following packages are not available from current channels_第1张图片

按以下操作完成包安装

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

python安装包报错:PackagesNotFoundError: The following packages are not available from current channels_第2张图片

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

anaconda show Alkibiades/simpleitk

python安装包报错:PackagesNotFoundError: The following packages are not available from current channels_第3张图片

进行安装

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

转自https://www.jianshu.com/p/9982faff1d3e

你可能感兴趣的:(项目,python,anaconda)