Python Forum
[WxPython] wxpython and python 3.6 on linux
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WxPython] wxpython and python 3.6 on linux
#2
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.whl
Which 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 directory
I 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?
Reply


Messages In This Thread
wxpython and python 3.6 on linux - by Barrowman - Mar-14-2018, 12:56 PM
RE: wxpython and python 3.6 on linux - by Barrowman - Mar-15-2018, 10:47 AM
RE: wxpython and python 3.6 on linux - by Barrowman - Mar-15-2018, 05:39 PM
RE: wxpython and python 3.6 on linux - by Larz60+ - Mar-15-2018, 06:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  xvfb - Python Module - simpe_3dviz - wxpython - gui JayToll 4 324 Apr-12-2024, 04:35 AM
Last Post: JayToll
  wxPython install on raspberry pi3 and python 3.6.2. djdan_23 3 7,176 Sep-13-2017, 11:49 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020