[portland] Upgrading from Python-2.4 to -2.5
robin at alldunn.com
Wed Jan 14 22:24:47 CET 2009
Rich Shepard wrote:
> It's unhappy:
> [rshepard at salmo ~]$ python
> Python 2.5.2 (r252:60911, Aug 3 2008, 15:34:23) [GCC 4.2.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import dbus
> /usr/lib/python2.4/site-packages/dbus/_dbus.py:45: RuntimeWarning: Python C
> API version mismatch for module dbus_bindings: This Python has API version
> 1013, module dbus_bindings has version 1012.
> import dbus_bindings
> So I need to point python to the 2.5 site-packages rather than the 2.4
Python 2.5 should not be looking at /usr/lib/python2.4 by itself. Do
you have that path specified in a PYTHONPATH setting or something? If
so, remove it.
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the Portland