On Tue, Jul 29, 2008 at 02:52:47PM -0700, Timothy Selivanow wrote: > I've just installed ice-python and I am running through the example at > http://www.zeroc.com/doc/Ice-3.3.0/manual/Hello.4.7.html and when I get > to the point of running the server (Server.py), python dumps out with an > import error: > > Traceback (most recent call last): > File "./Server.py", line 1, in <module> > import sys, traceback, Ice > ImportError: No module named Ice > > > Has anyone else worked with this package, or able to reproduce this? > While I have just installed the Ice that is available through the > repository, I don't want to just to any conclusions and file a bug > report with the packager just yet.
The package looks broken and installed incorrectly (one too many levels of directories). File a bug against the "ice" package at Fedora (or contact me off-list and I'll open it for you if you don't have a bugzilla account): https://bugzilla.redhat.com/ In the short term you can work around the mispackaging by setting a PYTHONPATH environment variable: [EMAIL PROTECTED] docs]$ PYTHONPATH=/usr/lib/python2.5/site-packages/Ice python Python 2.5.1 (r251:54863, Jul 10 2008, 17:24:48) [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Ice -- [EMAIL PROTECTED] Some people have a way with words, while others... erm... thingy. _______________________________________________ Fedora-python-devel-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-python-devel-list
