Re: Building Gnome-shell: No module named annotationparser



I've just ran into that problem after updating to Jaunty, and I've
finally found the cause of the problem. In install/bin/g-ir-scanner,
there's:

[path=the right place...]
path = os.path.join(basedir, libdir,
                    'python%d.%d' % sys.version_info[:2],
                    'site-packages')
sys.path.insert(0, path)

The 'site-packages' is not working with Python 2.6, which is using
'dist-packages' instead. Just change the string an you're done.

Now the problem is more complex if you want to support both versions.
Johan, if you hear me... :-)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]