[omniORB] import failure for _omnipy file - python 2.4 and 2.2.3?
Duncan Grisby
duncan at grisby.org
Thu Feb 16 13:56:58 GMT 2006
On Tuesday 14 February, K.Wong at lboro.ac.uk wrote:
> I am a newbie in omniORB and omniORBPy, I would appreciate it if someone can
> give me some advice or guidance for my problem. I am using a
> omc_communication.py file that utilizes the omniORBPy. I have been running
> the .py file o.k. without any problem in python 2.4, but not in python 2.2.3
> or software that have the embedded python 2.2.3. The error is as follow:
[...]
> import _omnipy
> ImportError: DLL load failed: The specified module could not be found.
Because of the way Python extension modules work, you have to use a
version of omniORBpy compiled for the right version of Python. The
binaries of omniORBpy 2.7 are compiled for Python 2.4, so they only work
with that.
To use it with other versions of Python, you must recompile omniORBpy to
match the Python version.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list