Reputation: 24092
I have a simple sode snippet that uses cairo
module. I would like to launch the scipt but it somehow cannot run giving this error :
Traceback (most recent call last):
File "C:\Users\xxx\Desktop\test.py", line 1, in <module>
import cairo
ImportError: No module named cairo
how should I "install" a module in Python on Windows ? I have tried installing http://gladewin32.sourceforge.net/ as stated on cairo page that I can get cairo as a "side effect" of intalling GTK+ but somehow this didn't work.
If I should add some paths to PATH
please indicate which one as I am raelly confused about this.
Now I realise how simpler that would be on linux with powerful terminal :)
Upvotes: 1
Views: 1345
Reputation: 5949
Try installing PyGtk from here: http://www.pygtk.org/downloads.html. The all-in-one-installer worked for me. Just choose the packages you want installed.
Upvotes: 3