Getting wxpython to work
I need to get wxPython running urgently but on a new install on Woody
I can not get the demo running:
--------------------------
$python demo.py
Traceback (most recent call last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 15, in ?
from wxPython.wx import *
ImportError: No module named wxPython.wx
-------------------------------
The setup of relevant packages look like this:
$dpkg -l python* | grep -v 'no description available'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii python-base 1.5.2-16 An interactive object-oriented scripting lan
ii python-dev 1.5.2-16 Header files and a static library for Python
ii python-doc 1.5.2p1-4 Documentation for the scripting language Pyt
ii python-gdk-iml 0.6.6-2 GTK gdk_imlib support module for Python.
ii python-glade 0.6.6-2 Put a bit of python code behind interfaces b
ii python-gnome 1.0.53-2 PyGNOME -- Python bindings for GNOME.
ii python-gtk 0.6.6-2 GTK support module for Python.
ii python-imaging 1.1.1-6 The Python Imaging Library.
ii python-imaging 1.1.1-6 Documentation and examples for the Python Im
ii python-imaging 1.1.1-6 The Python Imaging Library (Module with Tk s
ii python-kjbucke 2.2-6 Set and graph data types for Python
ii python-ldap 1.8-1 An LDAP module for Python.
ii python-mxtextt 1.1.1-3 Fast text manipulation tools for Python
ii python-newt 0.50.17-7 A newt module for Python.
ii python-numeric 17.1.2-5 Numerical (matrix-oriented) Mathematics for
ii python-numeric 17.1.2-5 Tutorial for the Numerical Python Library
ii python-pmw-doc 0.8.5-2 Pmw -- Python MegaWidgets
ii python-reportl 1.08-1 ReportLab library to create PDF documents us
ii python-soappy 0.9.7-1 SOAP Support for Python (SOAP.py)
ii python-tk 1.5.2-16 Writing Tk applications with Python (Tkinter
ii python-xml 0.6.6-2 XML tools for Python (1.5.x)
ii python2-base 2.0.1-1 An interactive object-oriented scripting lan
ii python2-tk 2.0.1-1 Writing Tk applications with Python2 (Tkinte
ii python2-xml 0.6.6-2 XML tools for Python (2.0)
ii python2-xmlbas 2.0.1-1 XML support included in Python2
$dpkg -l libwx* | grep -v 'no description available'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libwxgtk2.2 2.2.6.1 wxWindows Cross-platform C++ GUI toolkit (GT
ii libwxgtk2.2-co 2.2.6.1 wxWindows Cross-platform C++ GUI toolkit (ru
ii libwxgtk2.2-co 2.2.6.1 wxWindows Cross-platform C++ GUI toolkit (de
ii libwxgtk2.2-de 2.2.6.1 wxWindows Cross-platform C++ GUI toolkit (GT
ii libwxgtk2.2-py 2.2.6.1 wxWindows Cross-platform C++ GUI toolkit (Py
ii libwxxt1 1.67c-7 wxWindows Cross-platform C++ GUI toolkit (V1
--------------------------------------------------------------------------
Is there a way out or should I get a rpm and convert it?
Johann
--
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)
Posbus 4668, Tygervallei 7536
"And we know that all things work together for good to
them that love God, to them who are the called
according to his purpose."
Romans 8:28
Reply to: