Page 1 of 1

Two versions of python (2.4 and 2.6) installed

PostPosted: Wed Sep 15, 2010 12:59 am
by carandraug
Hi

I'm setting up omero (Beta 4.2) in CentOS 5.5. I need to keep python 2.4 installed and python pointing to it but I can also install python 2.6 (the installation instructions says that I need python 2.5.x or 2.6.x) so that
Code: Select all
$ python -V
Python 2.4.3
$ python26 -V
Python 2.6.5


However, how do I configure omero.server to look for python26. Diagnostic finds 2.4
Code: Select all
$ bin/omero admin diagnostics
Creating directory /home/omero/OMERO.server-Beta-4.2.0/var

================================================================================
OMERO Diagnostics Beta-4.2.0-r7571-b29
================================================================================
       
Commands:   java -version                  1.6.0     (/usr/bin/java)
Commands:   python -V                      2.4.3     (/usr/bin/python)
Commands:   icegridnode --version          3.3.1     (/usr/bin/icegridnode)
Commands:   icegridadmin --version         3.3.1     (/usr/bin/icegridadmin)
Commands:   psql --version                 8.4.4     (/usr/bin/psql)


Thanks in advance

Re: Two versions of python (2.4 and 2.6) installed

PostPosted: Fri Sep 17, 2010 12:21 pm
by cxallan
Python 2.4 should be sufficient for most things with OMERO. One of our deployment targets is Centos 5 so there shouldn't be too much trouble with that version. Let us know if you do have problems though. I believe the install page has been recently updated to state Python 2.4 and higher rather than Python 2.5 and higher.