无法安装新的wxpython

rns*_*nso 4 python wxpython gstreamer wxpython-phoenix

我正在使用Debian Stable Linux和python 3.5,我正在尝试使用以下命令安装新的wxpython(phoenix):

pip3 install --upgrade wxpython
Run Code Online (Sandbox Code Playgroud)

但是,它会因以下错误而停止:

  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.
Run Code Online (Sandbox Code Playgroud)

我有以下与gstreamer相关的软件包:

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
Run Code Online (Sandbox Code Playgroud)

我需要安装什么其他gstreamer包?谢谢你的帮助.

小智 8

我发现在Ubuntu 16.04上安装wxPython的唯一方法是执行以下命令:

sudo pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04     wxPython
Run Code Online (Sandbox Code Playgroud)

如果你只是执行通常的

sudo pip install wxPython
Run Code Online (Sandbox Code Playgroud)

然后它会失败抱怨GStreamer丢失(但我安装了所有必需的软件包,当然).