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
`
https://extras.wxpython.org/wxPython4/extras/linux/gtk3/debian-8/`
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 :)
`
https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04/wxPython-4.0.3-cp36-cp36m-linux_x86_64.whl`
Ubuntu 14.04 is based on Debian Jessie so it might just work ....
nope :(
# 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 <module>
from wx.core import *
File "/usr/local/lib/python3.6/site-packages/wx/core.py",
line 12, in <module>
from ._core import *
ImportError: libpython3.6m.so.1.0: cannot open shared object
file: No such file or directory
A search of `/usr/local` shows I have static libraries and not
shared libraries. Is this normal?
# 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
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.