> Message: 2 > Date: Thu, 9 Oct 2008 23:06:24 +0200 > From: Fr?d?ric <[EMAIL PROTECTED]> > Subject: Re: [Lcms-user] Using lcms w/ python on Windows > To: lcms-user@lists.sourceforge.net > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-15" > > On jeudi 09 octobre 2008, Jeffrey Cunningham wrote: > > > It is my understanding that one can use LittleCMS from within Python. > > I'm running Python25 on Windows and I see that Marti has made a *.pyd > > file available, but I don't know what to do with it. Googling "windows > > install pyd" doesn't help. The official Python documentation describes > > installing modules, but only those that have been prepared with > > distutils. I've tried dropping _lcms.pyd in various folders and running > > the test script info.py, but it fails with; > > > > Traceback (most recent call last): > > File "C:\Python25\lcms\testbed\info.py", line 6, in <module> > > from lcms import * > > ImportError: No module named lcms > > > > Is anyone on the list using lcms with python on windows? How did you do > > it? > > I think you have to put lcms.py and _lcms.pyd in > > C:\Python25\Lib\site-packages > > and lcms.dll in system32 (but I guess it is already done). > > -- > Fr?d?ric > > http://www.gbiloba.org
Okay, C:\Python25\Lib\site-packages is the right directory for lcms.py and _lcms.pyd, and I get a little bit further. But I'm having trouble with the DLL. I tried with it in system32 and in the site-packages directories, but in both cases I get: Traceback (most recent call last): 5 File "C:\Python25\lcms\testbed\info.py", line 6, in <module> from lcms import * File "C:\Python25\lib\site-packages\lcms.py", line 5, in <module> import _lcms ImportError: DLL load failed: The specified module could not be found. thanks again, jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeffrey Cunningham ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user