【发布时间】:2013-09-13 01:48:18
【问题描述】:
最近,我一直在研究 OpenCV 以使用 C++ 检测和识别人脸。为了从 OpenCV 网站执行源代码演示,我需要先运行 Python 来裁剪图像。不幸的是,当我运行 Python 脚本(此脚本由 OpenCV 网站提供)时,消息错误为 'ImportError: No module named Image'。我安装了“python-2.7.amd64”并下载了“PIL-1.1.7.win32-py2.7”来安装Image库。但是,消息错误是'Python version 2.7 required, which was not found in the registry'。然后,我下载了 Joakim Löw 为 Secret Labs AB / PythonWare 编写的脚本,以便在我的计算机中注册注册表。但是消息错误是"Unable to register. You probably have the another Python installation"。
我花了一个月的时间在互联网上搜索这个问题,但我找不到答案。请支持我解决我的问题。
谢谢, 陈当宝
【问题讨论】:
-
简而言之,您在 windows 中安装 python + PIL 时遇到问题?
标签: python windows opencv installation