You are not logged in.
Pages: 1
I noticed that after upgrading (an unmodified) python-2.4 to python-2.5 the following was
in the sys.path:
$ python
>>> import sys
>>> print sys.path
gives
[..., '/usr/lib/python2.4/site-packages', ...]
rather than:
/usr/lib/python2.5/site-packages
Offline
Hmm I get
['',
'/usr/bin',
'/usr/lib/python25.zip',
'/usr/lib/python2.5',
'/usr/lib/python2.4/site-packages',
'/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/opt/gnome/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode',
'/usr/lib/python2.5/site-packages/IPython/Extensions',
'/home/andi/.ipython']
Seems to be ok... I have two modules that are still compiled for 2.4 so the path shows up in sys.path...
digiKam developer - www.digikam.org
Offline
Same here.
The only directory left (on my installation) is SCons though. And it is possibly owned by scons (duh ). pacman -Qo confirms that.
/usr/lib/python2.4/site-packages/SCons/ is owned by scons 0.96.95-2
Offline
You can try to fix this be rebuilding the scons package from ABS ... I did this today and my two packages are now found in the python2.5 path.
Last edited by TheGrudge (2007-04-10 09:48:33)
digiKam developer - www.digikam.org
Offline
Obvious comment - if the relevant application(s) are working, there is no need to rebuild. We retain the 2.4 path for exactly that reason.
Offline
Pages: 1