wxPython Phoenix build fail ("Could not build python extensions"?) in pyenv 3.5.1 on Linux

So, finally, I got past the current error. It was pyenv ! I posted them an issue: Building wxPython Phoenix using pyenv loads system library, not module library. · Issue #691 · pyenv/pyenv · GitHub

On to the next error.

But
first I could just use wx in Windows but I chose Phoenix because its cross platform (nad it has to be Python 3 because of Blender). I don’t want to restrict myself and other users to just Windows for the project.
So what is the status of Phoenix ? Are these just a few random bugs or is Phoenix still some way off “prime time” as it were ? I don’t mind helping with the development but will have to consider another Python GUI module eventually as I can’t spend all my time on this.

So …

So, finally, I got past the current error. It was pyenv ! I posted them an issue: Building wxPython Phoenix using pyenv loads system library, not module library. · Issue #691 · pyenv/pyenv · GitHub

On to the next error.

But
first I could just use wx in Windows but I chose Phoenix because its cross platform (nad it has to be Python 3 because of Blender). I don’t want to restrict myself and other users to just Windows for the project.
So what is the status of Phoenix ? Are these just a few random bugs or is Phoenix still some way off “prime time” as it were ? I don’t mind helping with the development but will have to consider another Python GUI module eventually as I can’t spend all my time on this.

So … Phoenix built with system compiled Python 3.5.1 from official source. Made into main system Python (NO pyenv) by using Ubuntu/Debian “alternatives” system:

MichaelZFreeman@linux-freeman-G41MT-S2PT ~
$ python
Python 3.5.1 (default, Sep 7 2016, 11:35:13)
[GCC 5.4.0 20160609] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import wx
Traceback (most recent call last):
File “”, line 1, in
File “/opt/python3.5.1/lib/python3.5/site-packages/wx/init.py”, line 17, in
from wx.core import *
File “/opt/python3.5.1/lib/python3.5/site-packages/wx/core.py”, line 12, in
from ._core import *
ImportError: dynamic module does not define module export function (PyInit__core)
import wx
Traceback (most recent call last):
File “”, line 1, in
File “/opt/python3.5.1/lib/python3.5/site-packages/wx/init.py”, line 12, in
version = wx.version.VERSION_STRING
AttributeError: module ‘wx’ has no attribute ‘version
import wx
Traceback (most recent call last):
File “”, line 1, in
File “/opt/python3.5.1/lib/python3.5/site-packages/wx/init.py”, line 12, in
version = wx.version.VERSION_STRING
AttributeError: module ‘wx’ has no attribute ‘version

“ldd” shows correct library loading …

MichaelZFreeman@linux-freeman-G41MT-S2PT ~
$ ldd /opt/python3.5.1/lib/python3.5/site-packages/wx/_core.cpython-35m-x86_64-linux-gnu.so
linux-vdso.so.1 => (0x00007ffc7becf000)
libwx_gtk2u_core-3.0.so.0 => /opt/python3.5.1/lib/python3.5/site-packages/wx/libwx_gtk2u_core-3.0.so.0 (0x00007fa9b3180000)
libwx_baseu_net-3.0.so.0 => /opt/python3.5.1/lib/python3.5/site-packages/wx/libwx_baseu_net-3.0.so.0 (0x00007fa9b2f31000)
libwx_baseu-3.0.so.0 => /opt/python3.5.1/lib/python3.5/site-packages/wx/libwx_baseu-3.0.so.0 (0x00007fa9b2a8f000)
libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007fa9b24d6000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa9b2154000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa9b1e4a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa9b1c34000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa9b186b000)
libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007fa9b121f000)
libgdk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007fa9b0f6a000)
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fa9b0d5d000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007fa9b0a48000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007fa9b0826000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007fa9b05da000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fa9b0386000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fa9b0075000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fa9afd3b000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fa9afb34000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fa9af92c000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fa9af707000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007fa9af4ad000)
libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007fa9af23a000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa9af01d000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa9aee02000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa9aebfe000)
/lib64/ld-linux-x86-64.so.2 (0x000055f484122000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fa9ae9fa000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007fa9ae7f6000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fa9ae5ef000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007fa9ae3ca000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007fa9ae042000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007fa9ade2c000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fa9adbe8000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fa9ad9de000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fa9ad7da000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007fa9ad5ca000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007fa9ad3bf000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fa9ad1b5000)
libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007fa9acfb1000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fa9acdae000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fa9acb9c000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fa9ac8f1000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007fa9ac649000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fa9ac444000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fa9ac23a000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fa9ac018000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa9abe0f000)
libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007fa9abc06000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fa9ab9fd000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fa9ab78d000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fa9ab573000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fa9ab36d000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fa9ab14b000)
libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007fa9aaf3d000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fa9aad1a000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fa9aaaff000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fa9aa8a0000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fa9aa677000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fa9aa472000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fa9aa26c000)
libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007fa9aa064000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fa9a9e3e000)

···

On Monday, September 5, 2016 at 7:34:46 PM UTC+1, Robin Dunn wrote:

Michael Freeman wrote:

So Blender loads up OK using the “pyenv” Python, but both the build I

did in “pyenv” AND the build to a wheel in “venv” (the wheel install

replaced the pip built version) throws this error …