Public bug reported:

Binary package hint: python2.6

Hello, I'm using Lucid and this is tested with python2.6 2.6.5-1ubuntu6
(the most recent version that I can see.

I get that /usr/local/lib/python2.6/dist-packages is the location in
which locally installed modules are supposed to go, either if installed
with distutils or (I suppose) if installed by hand by the administrator.

Traditionally, AFAIK the /usr/local location has always appeared in
sys.path before the /usr/lib one, so that a version installed by the
administrator could override the version provided by the distribution.

I get this can lead to a broken system, but by puting /usr/local after
/usr/lib in sys.path, you're taking away important functionality. Do you
really want to do this?

Thanks for considering!


>>> import sys
>>> print '\n'.join(map(repr, sys.path))
''
'/tmp'
'/usr/lib/python2.6'
'/usr/lib/python2.6/plat-linux2'
'/usr/lib/python2.6/lib-tk'
'/usr/lib/python2.6/lib-old'
'/usr/lib/python2.6/lib-dynload'
'/usr/lib/python2.6/dist-packages'
'/usr/lib/pymodules/python2.6'
'/usr/local/lib/python2.6/dist-packages'

** Affects: python2.6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Locally installed Python modules don't override Ubuntu's
https://bugs.launchpad.net/bugs/593323
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to