I’m trying to install wxPython 4.0.3 with Python 3.6 on Debian 8
Jessie.
`pip3.6 install wxPython` fails to configure. I'm in process of
trying to install build dependencies to get it to configure and
build, but so far not much luck.
I looked at
and found there are no builds for Python 3.6 -- nor for Debian 9 Stretch. Understandable as Python 3.6 is only available in Debian 10 Buster (still in testing). I found the Ubuntu wheels and installed them and it succeeded :)
Ubuntu 14.04 is based on Debian Jessie so it might just work …
nope
A search of /usr/local
shows I have static libraries and not
shared libraries. Is this normal?
Is there anyway to resolve this so I can get wxPython 4.0.3 working
on Debian Jessie? Either direct pip install wxPython
or
specifying one of the linux wheels.
Thanks, Brendan.
···
https://extras.wxpython.org/wxPython4/extras/linux/gtk3/debian-8/
# python3.6 -c 'import wx'
`Traceback (most recent call last):` ` File "<string>", line 1, in <module>` ` File
“/usr/local/lib/python3.6/site-packages/wx/init.py”, line
17, in `` from wx.core import *` ` File "/usr/local/lib/python3.6/site-packages/wx/core.py",
line 12, in `
` from ._core import *` ` ImportError: libpython3.6m.so.1.0: cannot open shared object
file: No such file or directory`
# find /usr/local -name 'libpython*'
`/usr/local/lib/python3.6/config-3.6m-x86_64-linux-gnu/libpython3.6m.a` `/usr/local/lib/libpython3.6m.a`