If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!



I recently upgraded python from 2.6 to 2.7 and want to make web2py run with python 2.7. Can you let me know if it is possible to move my existing web2py installation to python 2.7 without reinstallation? If so, how? will the webapps contents remail even if I reinstall web2py?


Thanks in advance,



Answers (2)

Comments (2)

  • Login to post

  • 0
    rajaram-s 12 years ago

    Yes, my server currently has both python 2.6 and 2.7.


    Nope. I changed the softlink to python to point to python 2.7. So,



    $ python -V
    Python 2.7.2
    The link is pointing to /usr/local/lib/python2.7/
    The server runs RHEL 6 on which web2py was installed using the script that was posted on 
    replies (1)

  • 0
    rochacbruno 12 years ago

    web2py runs out of the box with Python from 2.5 to 2.7.2.


    if you installed a new Python on your server you should have two binnaries python2.6 and python2.7, you can try it testing $python2.7 from terminal.

    maybe in your system the alias "python" is pointing to python2.6 and you can check running $python -V, if you want the 2.7 to be dafault you have to make the alias to point to python2.7


    But it depends on your host configuration, what os? what provider?


    run #ln -l /user/bin/python to see which python is running by default.

Related content

Hosting graciously provided by:
Python Anywhere