functools Import Error for OMERO 4.4.10
Posted: Wed Feb 26, 2014 10:02 am
A number of users have reported an import error ('functools') using OMERO 4.4.10 with Python 2.4.
It looks like the following PR https://github.com/openmicroscopy/openm ... 1928/files broke
compatibility. Thanks for reporting this and apologies for missing it.
If you wish to continue with Python 2.4 you can download older version of
that file from
https://raw.github.com/openmicroscopy/o ... orators.py and
replace it in OMERO_HOME/dist/lib/python/omeroweb/decorators.py
Still you might consider installing Python 2.6 as we have just released
OMERO 5.0 which requires 2.6.
The simplest way of maintaining various pythons on the same OS is Virtual
Environment. Please look at the following examples:
http://bda.ath.cx/blog/2009/04/08/insta ... -or-rhel5/
http://stackoverflow.com/questions/1534 ... virtualenv
http://toomuchdata.com/2012/06/25/how-t ... entos-6-2/
You will need to reinstall all your PYTHON packages within VirtualEnv but
that should't be an issue.
It looks like the following PR https://github.com/openmicroscopy/openm ... 1928/files broke
compatibility. Thanks for reporting this and apologies for missing it.
If you wish to continue with Python 2.4 you can download older version of
that file from
https://raw.github.com/openmicroscopy/o ... orators.py and
replace it in OMERO_HOME/dist/lib/python/omeroweb/decorators.py
Still you might consider installing Python 2.6 as we have just released
OMERO 5.0 which requires 2.6.
The simplest way of maintaining various pythons on the same OS is Virtual
Environment. Please look at the following examples:
http://bda.ath.cx/blog/2009/04/08/insta ... -or-rhel5/
http://stackoverflow.com/questions/1534 ... virtualenv
http://toomuchdata.com/2012/06/25/how-t ... entos-6-2/
You will need to reinstall all your PYTHON packages within VirtualEnv but
that should't be an issue.