[ome-users] ImportError: No module named omero.cli

Bernie Broughton b.broughton at sussex.ac.uk
Sat May 23 13:19:01 BST 2009


Thanks for a great meeting!

Installed Centos 5.3 virtualised. This is going to be slow but it's an 
attempt to create a server so that users can at least have a play with the 
tools OMERO offers.

Installation:

installed java-1.6.0 - the openjdk product
installed PostgreSQL 8.1.11 as part of the Centos installation
Python, installed as part of the Centos installation
installed Ice by downloading the repository description and then using:

yum list ice* db46* mcpp-devel

modified etc\grid\default.xml:

property name="omero.db.name" value="omero"
property name="omero.db.user" value="omero"
property name="omero.db.pass" value="omero"
property name="omero.data.dir" 
value="https://trac.openmicroscopy.org.uk/omero/wiki/OmeroBinaryRepository"

And have ground to a halt with the import error:

... ImportError: No module named omero.cli

yum tells me ice-python was included.

I'm guessing PYTHONPATH isn't set properly. Maybe I need to do something
like:

export PYTHONPATH=${PYTHONPATH}:/usr/share/Ice-3.3.1/

but cannot see where the lib/python directory is.

Bernie



More information about the ome-users mailing list