[ome-users] ERROR: Could not import omero.cli! (No module named Ice)
Simon Li
spli at dundee.ac.uk
Wed Jun 15 09:40:34 BST 2016
Hi Lawrence
Could you tell us the full set of commands and configuration changes you ran to install Ice? Were you following the instructions on http://www.openmicroscopy.org/site/support/omero5.2/sysadmins/unix/server-ubuntu1404-ice36.html when you saw this error, or another document?
Simon
On 14 June 2016 at 22:12, Lawrence Griffing <griffing at tamu.edu<mailto:griffing at tamu.edu>> wrote:
Hi,
I get the same error message indicating that the system site packages are missing when installing on Ubuntu 14.04.
griffing at omero:~/Omero/Omero.server$ bin/omero config get
********************************************************************************
ERROR: Could not import omero.cli! (No module named Ice)
This means that your installation is incomplete. Contact
the OME mailing lists for more information:
http://www.openmicroscopy.org/site/community
If you are building from source, please supply the build log
as well as which version you are building from. If you
downloaded a distribution, please provide which link you
used.
********************************************************************************
Debugging Info:
--------------
CWD=/home/griffing/Omero/OMERO.server-5.2.4-ice36-b23
VERSION=2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
OMERO_HOME=None
PYTHONPATH=['/home/griffing/Omero/OMERO.server-5.2.4-ice36-b23/lib/python', '/home/griffing/Omero/OMERO.server-5.2.4-ice36-b23/var/lib', '/home/griffing/Omero/OMERO.server-5.2.4-ice36-b23/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/home/griffing/Omero/OMERO.server-5.2.4-ice36-b23/lib/fallback']
However, I also got warning messages when installing ICE that the server (IP 52.84.24.174) was not found that accessed 3 of the packages from zeroc.
________________________________________________________________________________________________
Also when doing a pip install of zeroc-ice, I get the following error:
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -DICE_STATIC_LIBS -Isrc -Isrc/ice/cpp/include -Isrc/ice/cpp/src -I/usr/include/python2.7 -c src/ice/cpp/src/IceSSL/SSLEngine.cpp -o build/temp.linux-x86_64-2.7/src/ice/cpp/src/IceSSL/SSLEngine.o -w
In file included from src/ice/cpp/src/IceSSL/SSLEngine.h:14:0,
from src/ice/cpp/src/IceSSL/SSLEngine.cpp:10:
src/ice/cpp/src/IceSSL/Util.h:20:27: fatal error: openssl/ssl.h: No such file or directory
# include <openssl/ssl.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_griffing/zeroc-ice/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ISHgYd-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_griffing/zeroc-ice
Storing debug log for failure in /tmp/tmpjhXI8
________________________________________________________________________________________________--
Also, when going to the zeroc site to (optionally) install the source package, I get the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for zeroc-ice3.6
griffing at omero:~/Omero/OMERO.server-5.2.4-ice36-b23$
I'm thinking that without accessing the server IP, the packages are not coming through, but I'm new to Ubuntu. I use the key from ZeroC. Is there generally a problem getting access to their servers?
Cheers,
Lawrence Griffing
The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20160615/aba6c2b2/attachment.html>
More information about the ome-users
mailing list