Python 2.x multiple version issues regarding PYTHONPATH
问题 There's Python 2.6 installed in the system. Now I want to use modules introduced in Python 2.7. Because I have no root privilege, I have built & installed 2.7 under my home directory ($HOME/local/) I added the following to my $HOME/.bashrc: export PATH=$HOME/local/bin:$PATH export PYTHONPATH=$HOME/local/lib/python2.7:$PYTHONPATH Now I encountered the two problems I want ask for workarounds. 1. Invoking Python 2.7 Newly installed Python 2.7 doesn't find 2.6 modules in system's library path (