Hi OME Team -
I’m trying to install omero-oauth, but I get a “ModuleNotFoundError: No module named ‘omero_oauth’” when I try to restart OMERO.web
So I’m pretty sure I’m doing something wrong during the installation. Other web apps are installed with pip after activating a python virtual environment, so this workflow is new to me.
I deployed OMERO.server (5.6.3) and OMERO.web (5.8.1) on CentOS7 using ansible and your roles in ansible-galaxy
As root, I cloned the omero-oauth repository to /opt/omero/oauth on my instance.
then, still as root, I activated a virtual environment in the web directory :
then installed the omero-oauth:
python /opt/omero/oauth/omero-oauth/setup.py install
Lots of install text, no obvious errors.
then switched to the omero-web user, stopped OMERO.web, appended omero-oauth to the list of web apps
omero config append omero.web.apps ‘“omero_oauth”’
and when I get the configuration, omero.web.apps is:
omero.web.apps=[“omero_figure”, “omero_iviewer”, “omero_mapr”, “omero_parade”, “omero_oauth”]
and when I restart OMERO.web, I get the module not found error.
there is a folder “omero_oauth-0.0.2-py3.6.egg” in /opt/omero/web/venv3/lib64/python3.6/site-packages
but no “omero_oauth” in that location.
Thanks for your help to point me in the right direction