Conda安装包安装包出现错误,比如
conda install imutils
出现如下错误:
Collecting package metadata (current_repodata.json): doneSolving environment: failed with initial frozen solve. Retrying with flexible solve.Collecting package metadata (repodata.json): doneSolving environment: failed with initial frozen solve. Retrying with flexible solve.PackagesNotFoundError: The following packages are not available from current channels:- imutilsCurrent channels:- https://mirrors.tuna./anaconda/pkgs/main/win-64- https://mirrors.tuna./anaconda/pkgs/main/noarch- https://mirrors.tuna./anaconda/pkgs/r/win-64- https://mirrors.tuna./anaconda/pkgs/r/noarch- https://mirrors.tuna./anaconda/pkgs/msys2/win-64- https://mirrors.tuna./anaconda/pkgs/msys2/noarchTo search for alternate channels that may provide the conda package you'relooking for, navigate toand use the search bar at the top of the page.
解决方法:
1.在某个conda环境解释器下,升级所有的包
conda update --all
2.在某个conda环境解释器下,试试通过pip进行安装
pip install imutils