By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,520 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,520 IT Pros & Developers. It's quick & easy.

Missing Module when calling 'Import' _omnipy

P: n/a
I am trying to run an Corba example using Python and i get the follwing
error:
import _omnipy
ImportError: No module named _omnipy

Where can i find this Module ?

Jul 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
ge**********@waytohere.com wrote:
I am trying to run an Corba example using Python and i get the follwing
error:
import _omnipy
ImportError: No module named _omnipy

Where can i find this Module ?


This is an extension module (i.e. the file is named _omnipy.so or _omnipy.dll, I believe),
and it is in the library path, not the python path. Thus you will have to add the library
path to the PYTHONPATH variable.
For details see http://omniorb.sourceforge.net/omnip...y001.html#toc2
or the omniORB specific mailing list.

HTH,
Stefan
Jul 18 '05 #2

P: n/a
*_omnipy is Missing*

I have searched my C drive can not find any file called *_omnipy.so or
..dll where do I get it from ?
I found the fike _omnipy.pyd is that what you mean?
Here is my Lib Path:

['C:\\omniORBpy-2.5-win32-python2.3\\omniORBpy-2.5\\examples\\echoMyTest',
'C:\\WINNT\\system32\\python23.zip', 'C:\\Python23',
'C:\\Python23\\DLLs', 'C:\\Python23\\lib',
'C:\\Python23\\lib\\plat-win', 'C:\\Python23\\lib\\lib-tk',
'C:\\Python23\\Lib\\site-packages\\pythonwin',
'C:\\Python23\\lib\\site-packages',
'C:\\Python23\\lib\\site-packages\\win32',
'C:\\Python23\\lib\\site-packages\\win32\\lib',
'C:\\omniORBpy-2.5-win32-python2.3\\omniORBpy-2.5\\examples\\echoMyTest',
'C:\\omniORBpy-2.5-win32-python2.3\\omniORBpy-2.5\\lib\\python',
'C:\\omniORBpy-2.5-win32-python2.3\\omniORBpy-2.5\\lib\x86_win32',
'C:\\omniORB\\omniORB-4.0.5\\omniORB-4.0.5\\lib\\python\\omniidl',
'C:\\omniORB\\omniORB-4.0.5\\omniORB-4.0.5\\lib\x86_win32']

Jul 18 '05 #3

P: n/a
ge**********@waytohere.com wrote:
I found the fike _omnipy.pyd is that what you mean?
yep.
Here is my Lib Path:


[...]

As a first step you may consider adding the directory containing '_omnipy.pyd'
to your PYTHONPATH variable. Second, you may read any documentation you can
find at http://omniorb.sourceforge.net/, and finally ask any unanswered question
on the omniORB ML.
Sorry, it has been a long while since I last used omniORB.

Regards,
Stefan
Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.