BrtH Posted July 25, 2013 Posted July 25, 2013 At the website it says that heliohost offers python 2.7. But when I run my script, it uses python 2.4 and some things don't work in that version. Can I solve this? Or will I need an account on the other server or something else?
Krydos Posted July 25, 2013 Posted July 25, 2013 The version of python you get depends on which shebang line you use. Python 2.4 has to be the default version since cpanel requires it to be. If you need a version of python that isn't available feel free to request it. Since you didn't specify which server your account is located on here is the list of all python versions available on both servers. Stevie: #!/usr/bin/python Python 2.4.3 #!/usr/bin/python2.4 Python 2.4.3 #!/usr/local/bin/python2.7 Python 2.7.1 #!/usr/local/bin/python2.4 Python 2.4.6 #!/usr/local/bin/python3.2 Python 3.2rc3 Johnny: #!/usr/bin/python Python 2.4.3 #!/usr/bin/python2.4 Python 2.4.3 #!/usr/local/bin/python2.7 Python 2.7.4
Recommended Posts