(imutils) PackagesNotFoundError: The following packages are not available from current channels:
(imutils) PackagesNotFoundError: The following packages are not available from current channels:
我正在使用 python 3.7 并尝试通过以下方式在 conda 中安装 imutils
包:
conda install imutils
conda install -c mlgill imutils=0.5.4
conda install -c conda-forge/label/cf202003 imutils=0.5.4
conda install -c conda-forge imutils
它们都产生相同的错误:
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- imutils
Current channels:
- https://repo.continuum.io/pkgs/main/linux-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/linux-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/linux-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/linux-64
- https://repo.continuum.io/pkgs/pro/noarch
除非:
conda install -c conda-forge imutils
生成:
InvalidVersionSpecError: Invalid version spec: =2.7
imutils 库是一个非 conda 包。我已经通过 pip
安装了它
pip install imutils
参考:
https://github.com/jrosebr1/imutils/issues/24#issuecomment-359399161
我正在使用 python 3.7 并尝试通过以下方式在 conda 中安装 imutils
包:
conda install imutils
conda install -c mlgill imutils=0.5.4
conda install -c conda-forge/label/cf202003 imutils=0.5.4
conda install -c conda-forge imutils
它们都产生相同的错误:
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- imutils
Current channels:
- https://repo.continuum.io/pkgs/main/linux-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/linux-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/linux-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/linux-64
- https://repo.continuum.io/pkgs/pro/noarch
除非:
conda install -c conda-forge imutils
生成:
InvalidVersionSpecError: Invalid version spec: =2.7
imutils 库是一个非 conda 包。我已经通过 pip
pip install imutils
参考:
https://github.com/jrosebr1/imutils/issues/24#issuecomment-359399161