如何在 windows 07 中为 python 安装 imutils 0.2
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34161318/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to install imutils 0.2 for python in windows 07
提问by Thamasha
I want to install imutils 0.2 package to python and i have windows 7 operating system. I only found the gz file and would like to know the way of gz files. Or else if there are any exe files available please let me know
我想将 imutils 0.2 包安装到 python 并且我有 Windows 7 操作系统。我只找到了gz文件,想知道gz文件的方式。或者如果有任何可用的exe文件请告诉我
采纳答案by Josep Valls
Install pip: https://pip.pypa.io/en/stable/installing/
安装pip:https: //pip.pypa.io/en/stable/installing/
Then you can install packages like:
然后你可以安装如下软件包:
pip install imutils
pip install imutils
Alternatively, you could unpack the gz (something like Winzip should be able to handle it) and run python setup.py install
.
或者,您可以解压缩 gz(Winzip 之类的应该能够处理它)并运行python setup.py install
.
回答by Brian S. Penn
Using windows 7, Anaconda3 environment I tried: pip install imutils which gave me a "got an unexpected keyword argument 'keyword encoding' error...so after much "wringing of hands and gnashing of teeth.." I arrived at the following solution:
使用 Windows 7,我尝试过 Anaconda3 环境: pip install imutils 这给了我一个“意外的关键字参数‘关键字编码’错误......所以经过多次“拧手和咬牙切齿......”我得到了以下解决方案:
go to: https://pypi.python.org/pypi/imutilsand download: imutils-0.4.5.tar.gzip
转到:https://pypi.python.org/pypi/imutils 并下载:imutils-0.4.5.tar.gzip
extract the imutils-0.4.5 to folder of your choosing.
将 imutils-0.4.5 解压缩到您选择的文件夹。
run: python setup.py install
运行:python setup.py install
Sadly, stupid, but it worked for me!!
可悲的是,愚蠢的,但它对我有用!!
回答by Mode
In windows, py3, conda install imutils
is not avaliable.
在 Windows 中,py3conda install imutils
不可用。
pip3 install imutils
and the newest version will be installed.
pip3 install imutils
并且将安装最新版本。