I have a web server that is running Debian Linux 4.3.2-1.1 and Python 2.6.5. I would like to upgrade the Python interpreter to 2.7 without having to reinstall my modules. Is there an easy way to do this?
Can I just copy all the files from my /usr/lib/python2.6/site-packages directory to /usr/lib/python2.7/site-packages or will this cause problems?