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
pygtk.require('2.0')

Marco
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar
  • [sugar] rsvg Erik Blankinship
    • Re: [sugar] rsvg Marco Pesenti Gritti

Reply via email to