I've downloaded VIPS from from http://www.vips.ecs.soton.ac.uk and I have extracted the ZIP file on my machine and added the \bin directory to my PATH.
I am trying to import the vipsCC library into Python using the command:
from vipsCC import VImage
but I keep getting the error:
'No module named vipsCC'
How do I import a module into Python on Windows?
What I've done:
I've downloaded the VIPS package from http://www.vips.ecs.soton.ac.uk/supported/current/win32/, extracted it to my windows machine, added the bin directory to the windows path. I then tried to import the vipsCC package into python using the statement "from vipsCC import *" but I get the error that it cannot find the vipsCC module.
I've also (as a hack) copied the DLLs from the vips package into the python DLLs directory, but still no luck.
VIPS is running fine from my command prompt, I just don't know how to import into Python.
Please help!
Thanks.
No comments:
Post a Comment