天天看點

pip安裝wxpython出錯_無法安裝新的wxpython

我正在使用Debian Stable

Linux和python 3.5,我正在嘗試使用以下指令安裝新的wxpython(phoenix):

pip3 install --upgrade wxpython

但是,它會因以下錯誤而停止:

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.

我有以下與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

我需要安裝什麼其他gstreamer包?謝謝你的幫助.