I am working on Debian Stable Linux and python 3.5 and I am trying to install the new wxpython (phoenix) using following command:
pip3 install --upgrade wxpython
However, it stops with following error:
  checking for CAIRO... yes
    checking for cairo_push_group... yes
    checking for GST... configure: WARNING: GStreamer 1.0 not available, falling back to 0.10
    checking for GST... configure: WARNING: GStreamer 0.10 not available, falling back to 0.8
    configure: error: GStreamer not available
    Error running configure
    ERROR: failed building wxWidgets
    Traceback (most recent call last):
      File "build.py", line 1269, in cmd_build_wx
        wxbuild.main(wxDir(), build_options)
      File "/tmp/pip-build-pdn9eo0c/wxpython/buildtools/build_wxwidgets.py", line 376, in main
        "Error running configure")
      File "/tmp/pip-build-pdn9eo0c/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
        raise builder.BuildError(msg)
    buildtools.builder.BuildError: Error running configure
    Finished command: build_wx (0m9.685s)
    Finished command: build (0m9.686s)
    Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
I have following packages related to gstreamer installed:
Package                 Installed       Previous        Now             State
=======================-===============-===============-===============-=====
gir1.2-gst-plugins-base-1.0 1.10.4-1        1.10.4-1        1.10.4-1        install
gir1.2-gstreamer-1.0    1.10.4-1        1.10.4-1        1.10.4-1        install
libgstreamer1.0-dev     1.10.4-1        1.10.4-1        1.10.4-1        install
libreoffice-avmedia-backend-gstreamer   1:5.2.7-1       1:5.2.7-1       1:5.2.7-1       install
python3-gst-1.0         1.10.4-1        1.10.4-1        1.10.4-1        install
What other gstreamer package do I need to install? Thanks for your help.
enter command : pip install pygame. To install wxpython enter command : pip install -U wxPython.
wxPython can be installed through apt-get by calling apt-get install python-wxgtk2. 8 or apt-get install python-wxgtk2. 6, depending on which version you want. You may have to call this with root permissions.
I find that the only way to install wxPython on Ubuntu 16.04 is by executing this command:
sudo pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04     wxPython
if you just execute the usual
sudo pip install wxPython
then it will fail complaining about GStreamer missing (but I have all the required packages installed, of course).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With