Installing wxpython on ubuntu 14.04

后端 未结 7 1755
天命终不由人
天命终不由人 2021-01-23 04:11

When I try to open PlayOnLinux from the commandline, I get this error:

Looking for python... 2.7.8 - selected
Traceback (most recent call last):
  File \"mainwin         


        
相关标签:
7条回答
  • 2021-01-23 04:46

    I tried many things, so I'm not sure if this is the minimum set of pre-requisites.

    $ sudo apt-get install libwxbase3.0-dev libwxgtk3.0-dev wx-common libwebkit-dev libwxgtk-webview3.0-dev wx3.0-examples wx3.0-headers wx3.0-i18n libwxgtk-media3.0-dev
    

    Then I pip installed the Phoenix version:

    $ sudo pip install --upgrade --pre -f http://wxpython.org/Phoenix/snapshot-builds/ --trusted-host wxpython.org wxPython_Phoenix
    

    This installs wxPython via pip, but I don't think it addresses your issue with wxversion.

    0 讨论(0)
  • 2021-01-23 04:53

    Try installing python-wxglade.It must have all necessary wx modules inside.

    0 讨论(0)
  • 2021-01-23 04:54

    wxPython package is named "python-wxgtk2.8" for wxWidgets 2.8 Install it: sudo apt-get install python-wxgtk2.8

    0 讨论(0)
  • 2021-01-23 04:56

    All you need is:

    sudo apt-get install python-wxgtk3.0

    0 讨论(0)
  • 2021-01-23 04:57

    Check Synaptic for wxPython 3.x to see if you can install it that way. According to https://www.playonlinux.com/en/news.html, version 4.2.5 of PlayOnLinux supports wxPython 3. If you can't get Synaptic to find a copy of wxPython 3, then you should refer to the official build instructions found here:

    • http://wxpython.org/builddoc.php
    0 讨论(0)
  • 2021-01-23 05:00

    The answer about installing "python-wxgtk2.8" is correct. But that's if you want to install 2.8, if you want 3.0 in 14.04, you can get it by following this post. I have done that, and have wx 3.0 installed.

    0 讨论(0)
提交回复
热议问题