importing libraries not working 2.6.4

Rami Chowdhury rami.chowdhury at gmail.com
Fri Feb 26 21:12:23 EST 2010


On Friday 26 February 2010 17:42:04 Isaiah Coberly wrote:
> Thanks for the reply.
> 
> I tried putting the files from
> 
>  C:\OpenCV2.0\Python2.6\Lib
> 
> too
> 
> C:\Python26\Lib\site-packages
> 
> and Python still wont import..
> 
> I adjusted the environment variables to try and import maya.standalone but
> no dice on that either.
> 

Sorry, you've still not told me where you expect it to be. Could you let us 
know what .py files you can see in C:\OpenCV2.0\Python2.6\Lib ?

> 
> On Fri, Feb 26, 2010 at 4:30 PM, Rami Chowdhury 
<rami.chowdhury at gmail.com>wrote:
> > On Friday 26 February 2010 16:06:56 Routb3d wrote:
> > > I used the x86 Python 2.6.4 installer. I am working in x64 Win7 pro.
> > > 
> > > I have tried adjusting environment variables as well as putting the
> > > files directly in the search path of Python.. Python still returns
> > > this.. Any ideas?
> > 
> > Where are you expecting the cv module / package to be? It's certainly not
> > in
> > the standard library -- at least not in my install of Python 2.6.4...
> > 
> > > >>> import sys
> > > >>> sys.path
> > > 
> > > ['C:\\Python26\\Lib\\idlelib', 'C:\\Program Files\\Autodesk\\Maya2010\
> > > \Python\\Lib\\site-packages', 'C:\\Windows\\system32\\python26.zip',
> > > 'C:\\Python26\\DLLs', 'C:\\Python26\\lib', 'C:\\Python26\\lib\\plat-
> > > win', 'C:\\Python26\\lib\\lib-tk', 'C:\\Python26', 'C:\\Python26\\lib\
> > > \site-packages']
> > > 
> > > >>> import cv
> > > 
> > > Traceback (most recent call last):
> > >   File "<pyshell#4>", line 1, in <module>
> > >   
> > >     import cv
> > > 
> > > ImportError: DLL load failed: The specified module could not be found.
> > > 
> > > 
> > > Any help would be greatly appreciated.
> > 
> > ----
> > Rami Chowdhury
> > "Strangers are just friends who haven't had enough gin." -- Howdle's
> > Saying 408-597-7068 (US) / 07875-841-046 (UK) / 01819-245544 (BD)


----
Rami Chowdhury
"Ninety percent of everything is crap." -- Sturgeon's Law
408-597-7068 (US) / 07875-841-046 (UK) / 01819-245544 (BD)



More information about the Python-list mailing list