一、基本模块python,Numpy, PIL, Opencv的安装(computer vision with python)

这篇博客介绍了如何在Windows上安装Python 2.7,接着详细步骤指导如何下载并安装NumPy、PIL(Python Imaging Library)以及Opencv 2.4.9。对于每个库,都提供了相应的下载链接和具体安装方法,包括将Opencv的相关文件复制到Python的site-packages目录下。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、Python下载及安装:

           https://www.python.org/

          一般情况下选择2.7版本的

2、从网站下载NumPy的Windows安装程序:

         http://sourceforge.net/projects/numpy/files/

         请选择合适的版本。我python为2.7版本的,所以选择了numpy-1.7.0-win32-superpack-python2.7.exe,点击安装即可

3、从网站上下载PIL模块

          http://www.pythonware.com/products/pil/

         这里我选择的是  Python Imaging Library 1.1.7 for Python 2.7 (Windows only),点击安装

4、从网站上下载opencv

         http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.9/opencv-2.4.9.exe/download

          点击安装后,在opencv文件夹中,build->python->2.7 复制2.7下面的所有文件 到C:\Python27\Lib\site-packages 中

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值