hello friends
i just start learning Python and i am going through book "how to think like a computer scientist", in forth chapter it start using "GASP" which needs to be installed and book totally ignored the need of a newbies regarding installation. so after some mucking around i did find out how to install. i am using Python2.6 on mac using Snow Leopard.
this is what i did to install gasp which i downloaded
sudo cp -R ~/Desktop/gasp-0.3.3/gasp/ /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gasp
then i used command import gasp to test if it works and got this error massage
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import gasp
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gasp/__init__.py", line 15, in <module>
from api import *
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gasp/api.py", line 26, in <module>
import backend
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gasp/backend.py", line 26, in <module>
import cairo
ImportError: No module named cairo
Now can anyone suggest me please whats going wrong and help me understand this error massage.
Any help will be much appreciated
Thankyou