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 ------------------------------------------------------------------------- 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