2017: win7 安装最新版 opencv 3.2 based on python2.7
2017-04-10 18:49
459 查看
The memo for install opencv 3.2 in win7 environment
Install the python2.7, download from the website, must install win32, not arm64.
download website: https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
download the python packet install tool: https://pypi.python.org/pypi/setuptools#downloads
run cmd : pip install wheel in the win32 cmd
download the numpy: https://pypi.python.org/packages/32/15/5dac23340abe95eae4e819f1575fb9be6b87ea92bf31ca808b41119d0346/numpy-1.12.1-cp27-none-win32.whl#md5=906d8d8e1cb6a5056e0405d5b54d6440
run the cmd: C:\Windows\System32>pip install d:/software/numpy-1.12.1-cp27-none-win32.whl
Download latest OpenCV release from sourceforge site and double-click to extract
it.
Goto opencv/build/python/2.7 folder.
Copy cv2.pyd to C:/Python27/lib/site-packages.
Open Python IDLE and type following codes in Python terminal.
>>> import cv2
>>> print cv2.__version__
OK.
install matplotlib
Install the python2.7, download from the website, must install win32, not arm64.
download website: https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
download the python packet install tool: https://pypi.python.org/pypi/setuptools#downloads
run cmd : pip install wheel in the win32 cmd
download the numpy: https://pypi.python.org/packages/32/15/5dac23340abe95eae4e819f1575fb9be6b87ea92bf31ca808b41119d0346/numpy-1.12.1-cp27-none-win32.whl#md5=906d8d8e1cb6a5056e0405d5b54d6440
run the cmd: C:\Windows\System32>pip install d:/software/numpy-1.12.1-cp27-none-win32.whl
Download latest OpenCV release from sourceforge site and double-click to extract
it.
Goto opencv/build/python/2.7 folder.
Copy cv2.pyd to C:/Python27/lib/site-packages.
Open Python IDLE and type following codes in Python terminal.
>>> import cv2
>>> print cv2.__version__
OK.
install matplotlib
python -m pip install -U pip setuptools python -m pip install matplotlib
相关文章推荐
- ubuntu14.04环境下安装配置OpenCV3.2+anaconda2(Python2.7)
- Anaconda python2.7 + opencv3.2 + mxnet 安装、配置、解决方法
- win7/64位下python2.7、easy_install安装经验
- ubuntu14.04 python2.7 安装配置OpenCV3.0
- win7的64位python2.7的pip和mysql-python安装
- win7 64位 python3.4&opencv3.0配置安装
- Win7下Python2.7环境安装paramiko模块
- Python2.7安装(win7)
- Ubuntu 14.04下OpenCV 3.0+Python 2.7安装测试
- Ubuntu 14.04下OpenCV 3.0+Python 2.7安装测试
- picamera 1.10 教程及api中文简译(一)在python2.7/3.2+上安装 picamera
- Ubuntu14.04 安装配置Opencv3.0和Python2.7
- 64位Win7下安装并配置Python2.7机器学习环境
- Win7 Python2.7 安装教程
- WIN7 64位下安装Python 2.7+MySQL-Python
- ubuntu14.04+opencv 3.0+python2.7安装及测试
- Python学习之一:Python2.7与opencv2.4安装配置
- Python 2.7 mysql-python(MySQLdb) win7 64bit 扩展安装
- ubuntu14.04下安装OpenCV 3.0 +Python 2.7
- python2.7安装OpenCV