Home Help Center

Python / Ice compatibility issue?

MikeMcFarlandMikeMcFarland Member Michael McFarlandOrganization: The Jackson LaboratoryProject: Scientific image repository
I've installed ICE 3.4.2 and Python 2.6.6. (My goal is to use this with OMERO.)
All 64 bit on Windows 7.

My PYTHONPATH is C:\Ice-3.4.2\python\x64
My PYTHONHOME is C:\Python26

both of which are correct. I'm getting the infamous "DLL load failed:" error.
Ice.pyd is there.

I've tried this with at least three different versions of ICE and Python. I was getting confusing information about which versions of python, ICE, and OMERO play well together.

Here is my output:

C:\Ice-3.4.2\python\x64>python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print os.environ.get('PYTHONPATH')
C:\Ice-3.4.2\python\x64
>>> print os.getcwd()
C:\Ice-3.4.2\python\x64
>>> import Ice
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "Ice.py", line 47, in <module>
import IcePy
ImportError: DLL load failed: The specified module could not be found.
>>>

I'm stumped. Again, what I'm trying to do is use OMERO 5.0.

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    You don't say anything about your setting for PATH. It should include

    C:\Ice-3.4.2\bin\x64

    because IcePy.pyd depends on DLLs in this directory.

    I tried this on Win7x64 with Ice 3.4.2 and I got the same error that you did until I updated PATH.

    Hope that helps,
    Mark
  • MikeMcFarlandMikeMcFarland Member Michael McFarlandOrganization: The Jackson LaboratoryProject: Scientific image repository
    YES! That was it! Thanks for the superb service.

    It was actually in the PATH variable but apparently not in the right spot!
Sign In or Register to comment.