Anaconda Python在Windows10中安装imutils

时间:2016-05-23 03:37:19

标签: python anaconda

我在 Windows 10 中使用 Anaconda2 Python2.7 。如何安装软件包 imutils

当我输入:conda install imutils

返回

Error:  Package missing in current win-64 channels:
  - imutils

然后我搜索

anaconda search -t conda imutils

enter image description here

似乎只有OSX版本,但不是Windows版本。

是否有任何方法可以在Anaconda Windows 10中安装imutils?

6 个答案:

答案 0 :(得分:8)

您是否尝试过运行这些命令:

start_node

答案 1 :(得分:8)

您可以在anaconda平台上安装pip

  1. 使用

    conda install pip
    
  2. 然后使用pip安装imutils

    pip install imutils
    
  3. 将安装包。

答案 2 :(得分:1)

我在Windows 7中使用Anaconda3 Python3.6,但命令似乎相同:pip install imutils

c:\>pip install imutils
Collecting imutils
  Downloading imutils-0.4.0.tar.gz
Building wheels for collected packages: imutils
  Running setup.py bdist_wheel for imutils ... done
  Stored in directory: C:\Users\username\AppData\Local\pip\Cache\wheels\09\42\86\
d9e60e31cc4bec207af96ac3cda32b2ce6475a8883ec0d6b99
Successfully built imutils
Installing collected packages: imutils
Successfully installed imutils-0.4.0

c:\>anaconda search -t conda imutils
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms
     ------------------------- |   ------ | --------------- | ---------------
     STScI/imutils             | 0.0.0.git | conda           | osx-64
                                          : imutils
     mlgill/imutils            |    0.3.6 | conda           | linux-64, osx-64
     thecampfire/imutils       |    0.3.1 | conda           | osx-64

对于那些使用Python 2.7的人,使用pip2.7.exe文件c:\Python27\Scripts\pip2.7.exe install imutils的路径编写相同的命令

c:\>c:\Python27\Scripts\pip2.7.exe install imutils
Collecting imutils
  Using cached imutils-0.4.0.tar.gz
Installing collected packages: imutils
  Running setup.py install for imutils ... done
Successfully installed imutils-0.4.0

c:\>c:\Python27\Scripts\pip2.7.exe show imutils
Name: imutils
Version: 0.4.0
Summary: A series of convenience functions to make basic image processing
functions such as translation, rotation, resizing, skeletonization, displaying
Matplotlib images, sorting contours, detecting edges, and much more easier
with OpenCV and both Python 2.7 and Python 3.
Home-page: https://github.com/jrosebr1/imutils
Author: Adrian Rosebrock
Author-email: adrian@pyimagesearch.com
License: UNKNOWN
Location: c:\python27\lib\site-packages
Requires:

答案 3 :(得分:1)

anaconda Win64不支持imutls

pip install imutils

https://anaconda.org/mlgill/imutils

答案 4 :(得分:0)

与python 3.5.x兼容

conda install -c mlgill imutils

答案 5 :(得分:0)

适用于Windows 10 64位版本的anaconda中的虹彩:

conda install -c pjamesjoyce imutils