Here's the content of my PATH variable: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/actionmystique/bin:/usr/local/java/jre1.7.0_25/bin
I'm not an Ubuntu expert, so I cannot understand the meaning of your "export PATH=$(echo $PATH|sed 's/:/\n/g'|grep -v local|tr '\n' ':')". However, since there's no particular reference to Python in the PATH, I don't see how your command could be effective. There remain two different options: ---------------------------------------- 1) permanently change all the contents of sys.path from usr/local/lib/... to usr/lib/...: ">>> import sys >>> sys.path ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages'] " But How? 2) Completely uninstall the manually installed Python 2.7 and update all the related variables, including sys.path. I don't know how to do that either. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1194791 Title: Python doesn't find modules in Ubuntu 13.04 To manage notifications about this bug go to: https://bugs.launchpad.net/gui-ufw/+bug/1194791/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs