I am attempting to install the OMERO server on a Windows machine. I am at the step where I must configure the omero.properties file using the batch scripts provided with the server distribution. Unfortunately, I am receiving errors concerning the dll that contains the OMERO.cli module, despite the fact that I have set up the environment variable PYTHONPATH as instructed. The console reports that my OMERO installation is incomplete.
I suspect it might be related to the PYTHONPATH because of this section in the troubleshooting guide: https://www.openmicroscopy.org/site/support/omero5/sysadmins/troubleshooting.html#import-error-when-running-bin-omero
I've included all details, including system setup, software versions, and console output below. I am working in a command prompt with administrator rights. Could anyone point out the mistake I'm making?
Thanks!
Kyle
----------
- Code: Select all
C:\OMERO.server>bin\omero config set omero.db.name omero_database
****************************************************************************
ERROR: Could not import omero.cli! (DLL load failed: The specified modul
e could not be found.)
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=C:\OMERO.server
VERSION=2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64
)]
OMERO_HOME=None
PYTHONPATH=['C:\\OMERO.server\\lib\\python', 'C:\\OMERO.server\\var\\\lib
', 'C:\\OMERO.server\\bin', 'C:\\Python27\\lib\\site-packages\\pillow-2.3.1-py2.
7-win-amd64.egg', 'C:\\OMERO.server\\lib\\python', 'C:\\ZeroC\\Ice-3.4.2\\python
\\x64', 'C:\\OMERO.server', 'C:\\Windows\\system32\\python27.zip', 'C:\\Python27
\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\
\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Python27\\lib
\\site-packages\\win32', 'C:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Py
thon27\\lib\\site-packages\\Pythonwin', 'C:\\OMERO.server\\lib\\fallback']
----------
I installed ice at
- Code: Select all
C:\ZeroC\Ice-3.4.2
My relevant system environment variables are:
- Code: Select all
PYTHONPATH = C:\ZeroC\Ice-3.4.2\python\x64;
PATH = C:\Python27;C:\Program Files (x86)\GnuWin32\bin;%INTEL_DEV_REDIST%redist\ia32\mpirt;%INTEL_DEV_REDIST%redist\ia32\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\;C:\Program Files\MATLAB\R2013b\runtime\win64;C:\Program Files\MATLAB\R2013b\bin;C:\ZeroC\Ice-3.4.2\bin\x64;
Strangely, after I attempt to run the script, I get the following output from the console:
- Code: Select all
C:\OMERO.server>echo %PYTHONPATH%
C:\OMERO.server\lib\python;C:\ZeroC\Ice-3.4.2\python\x64;
However, if I access my environment variables through the control panel, I don't see the entry about C:\OMERO.server\lib\python.
----------
Software
- OMERO.server 5.0.0-Ice 3.4-b19
Ice 3.4.2
JDK 7u51 64 bit
Python 2.7.6 64 bit
PostgreSQL 9.3.3 64 bit
Hardware
- Dell Precision T7500
Windows Server 2008 R2 Enterprise w/Service Pack 1, 64 bit
Intel Xeon X5690 @ 3.47 GHz (2 processors)
48.0 GB RAM
----------
Special notes
I was having some issues with the setpythonpath.bat batch file working with directories containing spaces in their names. Specifically, the default install of Ice went to C:\Program Files (x86). I fixed this by installing to a directory with no spaces.