LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   PlayOnLinux "ImportError: No module named wxversion (http://www.linuxquestions.org/questions/linux-software-2/playonlinux-importerror-no-module-named-wxversion-622340/)

Laurana 02-19-2008 05:00 PM

PlayOnLinux "ImportError: No module named wxversion
 
I have Slackware 12, and I'm using the default version of Python that comes with Slack. Python 2.5 I believe.
I also have Wine 0.9.55 installed.

I downloaded and untarred the file. I couldn't find the README at all... so I typed $playonlinux into the terminal, hoping that it would just work. Nope.
I guess it's idiotic, but I put $playonlinux in again after it failed the first time.

Code:

_@abp:~/dnlds/Wine0.9.55_RootMade$ tar -zxvf PlayOnLinux_2.0.9.tar.gz
...
[long list of files]
...
_@abp:~/dnlds/Wine0.9.55_RootMade$ cd  playonlinux
_@abp:~/dnlds/Wine0.9.55_RootMade/playonlinux$ ls
LICENCE  bash/  bin/  etc/  lang/  lib/  playonlinux*  python/  src/  themes/
_@abp:~/dnlds/Wine0.9.55_RootMade/playonlinux$ playonlinux

PlayOnLinux v2.0
----------------
Checking python :                              [ Ok ]
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/message.py", line 22, in <module>
    import wxversion, os, getopt, sys, urllib, signal
ImportError: No module named wxversion
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/message.py", line 22, in <module>
    import wxversion, os, getopt, sys, urllib, signal
ImportError: No module named wxversion
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/message.py", line 22, in <module>
    import wxversion, os, getopt, sys, urllib, signal
ImportError: No module named wxversion
touch: cannot touch `configurations/fonts_installed': No such file or directory
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/attendre.py", line 23, in <module>
    import wxversion, os, getopt, sys, urllib, signal
ImportError: No module named wxversion
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/mainwindow.py", line 22, in <module>
    import wxversion, os, getopt, sys, urllib, signal, socket
ImportError: No module named wxversion
_@abp:~/dnlds/Wine0.9.55_RootMade/playonlinux$ playonlinux

PlayOnLinux v2.0
----------------
Checking python :                              [ Ok ]
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/message.py", line 22, in <module>
    import wxversion, os, getopt, sys, urllib, signal
ImportError: No module named wxversion
Traceback (most recent call last):
  File "/home/abp/dnlds/Wine0.9.55_RootMade/playonlinux/python/mainwindow.py", line 22, in <module>
    import wxversion, os, getopt, sys, urllib, signal, socket
ImportError: No module named wxversion

_@abp:~/dnlds/Wine0.9.55_RootMade/playonlinux$

In the middle, right around
Code:

touch: cannot touch `configurations/fonts_installed'
it downloaded fonts from sourceforge.

reddazz 02-19-2008 05:02 PM

It seems like your application requires wxpython as a dependency.

Laurana 02-19-2008 05:47 PM

Quote:

Originally Posted by reddazz (Post 3063043)
It seems like your application requires wxpython as a dependency.

I'm not sure what wxpython is.
Can you tell me where I could find this? Perhaps it is something that is supposed to be on Slackware already.

reddazz 02-19-2008 06:07 PM

Its usually not installed by default. You can download it from linuxpackages or if you prefer to compile from source, get it from the wxpython website.


All times are GMT -5. The time now is 12:03 AM.