使用conda 安装python库的时候发现 报错如下
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- dlib
- boost=1.59
Current channels:
- https://conda.anaconda.org/wordsforthewise/linux-64
- https://conda.anaconda.org/wordsforthewise/noarch
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/linux-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/linux-64
- https://repo.anaconda.com/pkgs/pro/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
是由于 安装包的位置不在频道中
可以通过执行下面命令 即可安装
conda config --add channels conda-forge
conda config --add channels matsci
conda config --add channels abinit
比如dlib 可以在conda-forge中搜索到,然后安装