We're Hiring!

functools Import Error for OMERO 4.4.10

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

functools Import Error for OMERO 4.4.10

Postby wmoore » 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.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 0 guests