[英]Not able to install Python with OpenCV on windows x64 system
I am trying to install python on my system but facing some issues. 我正在尝试在系统上安装python,但遇到一些问题。
I have installed OpenCV 3.0.0 for Windows x64 bit system and now i am trying to install python 2.7.5 on my system and i also have installed numpy 1.7.1. 我已经为Windows x64位系统安装了OpenCV 3.0.0,现在我正在尝试在系统上安装python 2.7.5,并且我还安装了numpy 1.7.1。
Then i copied 'cv2.pyd' from my OpenCV folder to python folder, now in order to configure them i have to import cv2 file but this error is coming when i try that. 然后我将“ cv2.pyd”从我的OpenCV文件夹复制到python文件夹,现在为了配置它们,我必须导入cv2文件,但是当我尝试这样做时会出现此错误。
can anyone help me in this i am new in this. 谁能帮助我,我是新来的。 Shall i try to work with latest version of python and numpy for my windows x64 system? 我可以在Windows x64系统上尝试使用最新版本的python和numpy吗?
Thanks 谢谢
Here's a complete way of installing OpenCV with Python 这是使用Python安装OpenCV的完整方法
After lots of research and struggle i found out what the issue was. 经过大量研究和努力,我发现了问题所在。
My system is Windows x64 bit but this python and numpy most of the times don't work well with Windows x64 bit systems. 我的系统是Windows x64位,但是大多数情况下,此python和numpy不适用于Windows x64位系统。
So i first i configured my OpenCV as x86, though my system is x64 bit. 所以我首先将OpenCV配置为x86,尽管我的系统是x64位。 After that i download 32 bit python and numpy and configured the same with OpenCV and it worked very well. 之后,我下载了32位python和numpy并使用OpenCV进行了配置,并且效果很好。
Thanks ! 谢谢 !
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.