我正在使用 python 3.7 并尝试imutils
通过以下方式在 conda 中安装软件包:
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