Archived
This forum has been archived. Please start a new discussion on GitHub.
Python / Ice compatibility issue?
MikeMcFarland
in Help Center
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.
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.
0
