Package: python-wxgtk3.0
Version: 3.0.2.0+dfsg-8
Severity: important

What is the secret to get this module running in Debian 10?

First i installed this package python-wxgtk3.0 without success.
Then i tried additional python-wxtools without success.

Afterwards i tried it with "pip install -U wxPython"
but this always ends up with

Collecting wxPython
  Using cached
https://files.pythonhosted.org/packages/cb/4f/1e21d3c079c973ba862a18f3be73c2bbe2e6bc25c96d94df605b5cbb494d/wxPython-4.1.0.tar.gz
...
    *** Could not run GTK+ test program, checking why...
    *** The test program failed to compile or link. See the file config.log for 
the
    *** exact error that occurred. This usually means GTK+ is incorrectly 
installed.
    configure: error:
    The development files for GTK+ were not found. For GTK+ 2, please
    ensure that pkg-config is in the path and that gtk+-2.0.pc is
    installed. For GTK+ 1.2 please check that gtk-config is in the path,
    and that the version is 1.2.3 or above. Also check that the
    libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
    --libs' are in the LD_LIBRARY_PATH or equivalent.
   
    Error running configure
    ERROR: failed building wxWidgets
    Traceback (most recent call last):
      File "build.py", line 1471, in cmd_build_wx
        wxbuild.main(wxDir(), build_options)
      File "/tmp/pip-install-92qm35/wxPython/buildtools/build_wxwidgets.py", 
line 373, in main
        "Error running configure")
      File "/tmp/pip-install-92qm35/wxPython/buildtools/build_wxwidgets.py", 
line 85, in exitIfError
        raise builder.BuildError(msg)
    BuildError
...
Can't roll back wxPython; was not uninstalled
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-92qm35/wxPython/setup.py';f=getattr(tokenize,
 'open',
open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-u1LhGT/install-record.txt --single-version-externally-managed 
--compile" failed with error code 1 in
/tmp/pip-install-92qm35/wxPython/


I have no idea what gtk packages must be installed?

There has been already installed:
python2.7-dev python-wxgtk2.8 fftw3-dev libasound2-dev portaudio19-dev
python2.7-dev fftw3-dev libasound2-dev portaudio19-dev
libpulse-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev 
python3-gst-1.0

Best regards
karsten

Reply via email to