[omniORB] Problem importing omniORB in python

Urban Purkat urban.purkat at topit.si
Mon Nov 16 11:26:39 GMT 2009


Hi!

Check PYTHONPATH env variable.

The directory that contains the omniORB directory (normally 
/omniORB_root/lib/python) must be in path.

I hope that helps.

Urban

steven bellens wrote:
> Hi,
>
> I have a problem with importing omniORB in python:
>
> ]$ python
> Python 2.6 (r26:66714, Jun  8 2009, 16:07:29)
> [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import omniORB
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named omniORB
> >>>
>
> I work on 64-bit Fedora 11:
> ]$ uname -a
> Linux 2.6.30.8-64.fc11.x86_64 #1 SMP Fri Sep 25 04:43:32 EDT 2009 
> x86_64 x86_64 x86_64 GNU/Linux
>
> As omniORB is not contained in the fedora package list, I downloaded 
> omniORB 4.1.4 and omniORBPy 3.4, build (GNUMake 3.81) and installed it 
> (omniORB first, omniORBPy afterwards) using the autoconf option. 
> I have set my python path and library path, but still python can't 
> find the omniORB module.
>
> What am I doing wrong?
>
> Regards,
>
> Steven
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>   



More information about the omniORB-list mailing list