jollyjack
Jun 24 2008, 04:23 AM
This is a total python newbie question .....
I just downloaded and extracted a learning game for python called RUR-PLE, however I cannot seem to get it running. When I click on the rur_start.py script, it doesn't execute like it does in Windows XP, rather it just opens up in an editor. I have WXpython installed, and I am pretty sure python is installed too. Naturally, I am missing something obvious here. Would someone kindly offer some expert advice?
ok...got a little farther on my own....
[root@localhost rurple1.0rc3]# python rur_start.py
Traceback (most recent call last):
File "rur_start.py", line 31, in <module>
import wx
ImportError: No module named wx
Thanks:-)
[moved from Software by spinynorman]
iphitus
Jun 24 2008, 08:39 AM
Go to Mandriva Control Center, and look for "Install Software/Packages" (excuse me if the names aren't quite right, been a while since I've used it)
You'll need to install wxpython, it may also be called wxgtk.
James
scarecrow
Jun 24 2008, 12:15 PM
Actually the name of the old, 2.6-series package is "wxpython2.6", while for the new 2.8-series it's "WxPythonGTK" (names are, as usual, case sensitive).
Pick whichever suits your application.
jollyjack
Jun 24 2008, 11:55 PM
Yep....that was it. I installed the wrong version (wxpython2.6) whereas I should have installed wxPythonGTK and it's dependency libwxPythonGTK2.8k
Thank you very much
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.