Problem with import "from omniORB import CORBA, PortableServer"
Steve Holden
steve at holdenweb.com
Mon Apr 11 16:08:39 EDT 2005
gerald.maher at waytohere.com wrote:
> Hi,
>
> I am trying to excuate the follwong code:
>
> [
> import sys
> from omniORB import CORBA, PortableServer
> ]
>
> I get the following error:
> [
> Traceback (most recent call last):
> File
> "C:\omniORBpy-2.5-win32-python2.3\omniORBpy-2.5\examples\echoMyTest\example_echo_coloc.py",
> line 9, in ?
> from omniORB import CORBA, PortableServer
> ImportError: No module named omniORB
> ]
>
> Here is my Lib path:
> ['C:\\omniORBpy-2.5-win32-python2.3\\omniORBpy-2.5\\examples\\echoMyTest',
> 'C:\\omniORB\\omniORB-4.0.3\\lib\\python',
> 'C:\\omniORB\\omniORB-4.0.3\\lib\\x86_win32',
> 'C:\\WINNT\\system32\\python24.zip', 'C:\\Python24',
> 'C:\\Python24\\DLLs', 'C:\\Python24\\lib',
> 'C:\\Python24\\lib\\plat-win', 'C:\\Python24\\lib\\lib-tk',
> 'C:\\Python24\\Lib\\site-packages\\pythonwin',
> 'C:\\Python24\\lib\\site-packages',
> 'C:\\Python24\\lib\\site-packages\\win32',
> 'C:\\Python24\\lib\\site-packages\\win32\\lib',
> 'C:\\omniORBpy-2.5-win32-python2.3\\omniORBpy-2.5\\examples\\echoMyTest',
> 'C:\\omniORB\\omniORB-4.0.3\\lib\x86_win32',
> 'C:\\omniORB\\omniORB-4.0.3\\lib\x86_win32']
>
> What am i doing wrong ?
>
Well it look like you might be trying to use an OminORB from Python 2.3
with Python 2.4, though I couldn't swear to it.
regards
Steve
--
Steve Holden +1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
More information about the Python-list
mailing list