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
#1
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/s 
It runs so far and then I get
Error:
Checking for header Python.h : :-( Asking python-config for pyembed --cflags flags : yes Asking python-config for pyembed --libs flags : yes Asking python-config for pyembed --ldflags flags : yes Getting pyembed flags from python-config : yes Asking python-config for pyext --cflags flags : yes Asking python-config for pyext --libs flags : yes Asking python-config for pyext --ldflags flags : yes Getting pyext flags from python-config : Could not build python extensions The configuration failed (complete log in /tmp/pip-build-e9v1g771/wxpython/build/waf/3.6/gtk3/config.log) Command '"/usr/local/bin/python3.6" /tmp/pip-build-e9v1g771/wxpython/bin/waf-1.7.15-p1 --wx_config=/tmp/pip-build-e9v1g771/wxpython/build/wxbld/gtk3/wx-config --gtk3 --python="/usr/local/bin/python3.6" --out=build/waf/3.6/gtk3 configure build ' failed with exit code 1. Finished command: build_py (0.864s) Finished command: build (0m1.395s) Command '"/usr/local/bin/python3.6" -u build.py build' failed with exit code 1.
Cannot post log because the process cleaned up afterwards and so log not there.
Any help would be appreciated.
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
  wxPython install on raspberry pi3 and python 3.6.2. djdan_23 3 7,082 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