简体   繁体   English

Anaconda Python在Windows10中安装imutils

[英]Anaconda Python install imutils in Windows10

I am using Anaconda2 Python2.7 with Windows 10 . 我在Windows 10中使用Anaconda2 Python2.7 How can I install the package imutils ? 如何安装imutils包?

When I type: conda install imutils 当我输入: conda install imutils

It returns 它回来了

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

And then I search it 然后我搜索它

anaconda search -t conda imutils

在此输入图像描述

It seems that there is only the OSX version, but not the windows version. 似乎只有OSX版本,但不是Windows版本。

Are there any methods that can install imutils in Anaconda Windows 10? 有没有可以在Anaconda Windows 10中安装imutils的方法?

Did you try running these commands: 您是否尝试运行这些命令:

import pip  
pip.main(['install', 'package-name'])

You can install pip on the anaconda platform. 你可以在anaconda平台上安装pip

  1. Use 采用

     conda install pip 
  2. Then use pip to install imutils : 然后使用pip安装imutils

     pip install imutils 

The package will get installed. 该软件包将被安装。

I am using Anaconda3 Python3.6 with Windows 7, but the command seems the same: pip install imutils 我在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

For those who's using Python 2.7, write the same command with path to pip2.7.exe file c:\\Python27\\Scripts\\pip2.7.exe install imutils 对于那些使用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:

imutls is not supported in anaconda Win64 anaconda Win64不支持imutls

pip install imutils pip install imutils

https://anaconda.org/mlgill/imutils

适用于Windows 10 64位的anaconda中的Imutils:

conda install -c pjamesjoyce imutils

与python 3.5.x兼容

conda install -c mlgill imutils

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM