[WxPython] wxpython and python 3.6 on linux - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [WxPython] wxpython and python 3.6 on linux (/thread-8955.html) |
wxpython and python 3.6 on linux - Barrowman - Mar-14-2018 I am trying to install wxpython phoenix for python 3.6 on my Linux Mint 18.2 and am getting a lot of errors. I have pip 3.6 installed and it runs okay but the install of wxpython fails. sudo -H pip3.6 install wxpython [sudo] password for norman: Collecting wxpython Downloading wxPython-4.0.1.tar.gz (67.9MB) 100% |████████████████████████████████| 67.9MB 26kB/sIt runs so far and then I get Cannot post log because the process cleaned up afterwards and so log not there.Any help would be appreciated. RE: wxpython and python 3.6 on linux - Barrowman - Mar-15-2018 I tried to install wxpython by doing sudo -H pip3.6 install https://wxpython.org/Phoenix/snapshot-builds/linux/gtk2/ubuntu-16.04/wxPython-4.0.0a3.dev3059+4a5c5d9-cp36-cp36m-linux_x86_64.whlWhich it said it had done successfully But when I tried it I got this python3.6 Python 3.6.4 (default, Mar 13 2018, 17:34:02) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import wx Traceback (most recent call last): File "<stdin>", 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 directoryI tried this with several builds including 4.0.0a2 but all gave the same type of errors. The same happened with gtk3 builds I guess I am doing something wrong but what? RE: wxpython and python 3.6 on linux - Barrowman - Mar-15-2018 Sorted it out sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get updateThen was able to install libpython3.6-dev, which was needed, via package manager. RE: wxpython and python 3.6 on linux - Larz60+ - Mar-15-2018 dead snakes ... sounds rather ominous |