[sugar] rsvg

Marco Pesenti Gritti mpg
Wed Nov 8 22:10:15 EST 2006

Erik Blankinship wrote:
> hello
> developing my sugar apps outside of sugar-build, my python code can't 
> seem to import rsvg
> i am on fc6 -- does someone know what i need to yum to get the right 
> packages?  i tried a few but, didn't get anything to work.

I can think of two reasons:

1 You are not running it inside a sugar-jhbuild shell. You should do 
"sugar-jhbuild shell" to initialize  the environment.

2 You are not initializing pygtk. You should this before importing rsvg:
import pygtk


More information about the Sugar-devel mailing list