Python, PyGTK and GTK+
I am trying to use Python with GTK+ on SuSE 9.0, but I son't know what I need to install. I am going through a tutorial (http://www.moeraki.com/pygtktutorial/pygtk2tutorial/index.html), but the example script fails; Traceback (most recent call last): File "./pygtkconsole.py", line 13, in ? import gtk File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ? from _gtk import * ImportError: No module named _numpy I don't see any PyGTK package for SuSE, except python-gtk (I assume this is PyGTK) Google has not given me much yet. Any pointers on how to get Python with GTK+ to work on SuSE? Thanks -- Andre Truter Software Engineer Registered Linux user #185282 ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net ~ A dinosaur is a salamander designed to Mil Spec ~
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 14 January 2004 02:03 pm, Andre Truter wrote:
I am trying to use Python with GTK+ on SuSE 9.0, but I son't know what I need to install.
I am going through a tutorial (http://www.moeraki.com/pygtktutorial/pygtk2tutorial/index.html), but the example script fails;
Traceback (most recent call last): File "./pygtkconsole.py", line 13, in ? import gtk File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ? from _gtk import * ImportError: No module named _numpy
You need the python-numeric package. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFABYe6+FOexA3koIgRAn9PAKCrV66KfKPPf/M6g3JOrTEx5d/7RgCePm/n cV0/aCYXzF9GiilP4XsvcOw= =bMud -----END PGP SIGNATURE-----
On Wed, 2004-01-14 at 20:03, Andre Truter wrote:
I am trying to use Python with GTK+ on SuSE 9.0, but I son't know what I need to install.
Ah. I found it! One little post on a Mandrake list. It is actually quite logical if you are not too tired. Needed to install python-numeric... -- Andre Truter Software Engineer Registered Linux user #185282 ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net ~ A dinosaur is a salamander designed to Mil Spec ~
participants (2)
-
Andre Truter
-
James Oakley