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

dlib安装报错如图
PackagesNotFoundError: The following packages are not available from current channels: - dlib_第1张图片
折腾了好久最后终于安装成功。。
记录过程如下:

anaconda search -t conda dlib

可以看到dlib的不同版本,找到对应自己系统需要下载的
PackagesNotFoundError: The following packages are not available from current channels: - dlib_第2张图片
比如我要下载的window64位的在这里
PackagesNotFoundError: The following packages are not available from current channels: - dlib_第3张图片
那么就执行如下命令就可以下载

conda install -c https://conda.anaconda.org/conda-forge dlib

PackagesNotFoundError: The following packages are not available from current channels: - dlib_第4张图片

就是找到它的路径,然后加上它的名字进行下载。注意conda-forge和dlib之间没有“/”,用空格分开

最后就可以看到下载完成啦!
PackagesNotFoundError: The following packages are not available from current channels: - dlib_第5张图片

你可能感兴趣的:(报错,python)