We're Hiring!

problem installation Omero.server

General user discussion about using the OMERO platform to its fullest. 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

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

problem installation Omero.server

Postby chettia02 » Thu May 24, 2012 10:23 am

Hello;
I can find a solution for this error:






PyPM 1.3.4 (Python Package Manager) brief help:
Type "pypm install PACKAGE" to install a package.
Type "pypm search KEYWORDS" to search for packages.
Type "pypm upgrade" to upgrade installed packages.
Type "pypm help" to show full help.

C:\Windows\system32>cd c:\omero_dist

c:\omero_dist>bin\omero config set omero.db.name omero
********************************************************************************


ERROR: Could not import omero.cli! (DLL load failed: Le module spÚcifiÚ
est introuvable.)

This means that your installation is incomplete. Contact
the OME mailing lists for more information:

https://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_dist
VERSION=2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel
)]
OMERO_HOME=None
PYTHONPATH=['c:\\omero_dist\\lib\\python', 'c:\\omero_dist\\var\\lib', '
c:\\omero_dist\\bin', 'C:\\Python27\\lib\\site-packages\\sqlobject-1.3.0-py2.7.e
gg', 'C:\\Python27\\lib\\site-packages\\formencode-1.2.4-py2.7.egg', 'c:\\omero_
dist\\lib\\python', 'C:\\Ice-3.3.1\\python', 'C:\\Windows\\system32\\python27.zi
p', '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\\PIL', 'C:\\Python27\\lib\\site-packages\\win32
', 'C:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\lib\\site-pack
ages\\Pythonwin', 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg
-info', 'c:\\omero_dist\\lib\\fallback']


c:\omero_dist>
thank you
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: problem installation Omero.server

Postby chettia02 » Thu May 24, 2012 11:58 am

Heeelp me plz
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: problem installation Omero.server

Postby jmoore » Thu May 24, 2012 3:11 pm

Could you try running the following in a terminal?
Code: Select all
python -c "import Ice; print Ice.stringVersion()"


If Ice is installed, you'll see
Code: Select all
3.3.1


Otherwise, you'll see:
Code: Select all
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named Ice


Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: problem installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:19 am

yes you are right that's the error:


Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named Ice
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: problem installation Omero.server

Postby jmoore » Fri May 25, 2012 8:21 am

How did you install Ice?
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: problem installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:24 am

i use:
python2.6 tables-2.3.1
python2.6 scipy-0.10.1
python2.6 PIL-1.1.7
python2.6 numpy-1.6.2
python2.6 ndimage-0.10.1
python2.6 matplotlib-1.1.1rc
postgresql 8.3
java SE development Kit 7 update 4
Ice 3.3.1 for visual Studio 2..5
activestate activepython 2.6.5.14 (32-bit)

and my OS: windows server 2008 R2 64bits
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: problem installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:31 am

Now I used cmd.exe
that's the error



Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Administrateur>cd c:\omero_dist

c:\omero_dist>bin\omero config set omero.db.name omero
Error loading:c:\omero_dist\lib\python\omero\plugins\admin.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 973, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\admin.py", line 24, in <module>
import omero_ServerErrors_ice
File "c:\omero_dist\lib\python\omero_ServerErrors_ice.py", line 13, in <module
>
import Ice, IcePy, __builtin__
ImportError: No module named Ice
Error loading:c:\omero_dist\lib\python\omero\plugins\upload.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 973, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\upload.py", line 14, in <module>
import omero.util.originalfileutils;
File "c:\omero_dist\lib\python\omero\util\__init__.py", line 11, in <module>
import Ice
ImportError: No module named Ice


c:\omero_dist>
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: problem installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:33 am

How did you install Ice?

I did not understand exactly what do you mean to me
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: problem installation Omero.server

Postby jmoore » Fri May 25, 2012 8:51 am

I'm assuming you downloaded Ice from http://www.zeroc.com/download_3_3_1.html and installed it as instructed. Did you also update your PYTHONPATH as specified? What's the output in cmd.exe if you run:

Code: Select all
echo %PYTHONPATH%


~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: problem installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:58 am

that is the result
C:\Ice-3.4.2\python
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Next

Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron