No worries, I’m not sure what a sundowner is, but I hope it was enjoyable.
As I suspected, you have a mixed bag of wxWidgets libraries:
libwx_gtk3u_core-3.0.so.0 =>
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0 (0x00007f203aab6000)
libwx_baseu_net-3.0.so.0 => /usr/local/lib/libwx_baseu_net-3.0.so.0
(0x00007f203a867000)
libwx_baseu-3.0.so.0 => /usr/local/lib/libwx_baseu-3.0.so.0
(0x00007f203a3c7000)
If you would like to use the Ubuntu ones, I would suggest getting rid of
the /usr/local/lib/libwx* which is probably causing the problem.
Scott
On Thu, 5 Jul 2018, rolfofsaxony wrote:
Sorry Scott, it’s 10pm here and I went out for a sundowner on the
terrace.not sure this helps but:
ldd /usr/lib/python3/dist-packages/wx/_core.cpython-36m-x86_64-linux-gnu.so
linux-vdso.so.1 (0x00007ffc9757e000)
libwx_gtk3u_core-3.0.so.0 =>
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0 (0x00007f203aab6000)
libwx_baseu_net-3.0.so.0 => /usr/local/lib/libwx_baseu_net-3.0.so.0
(0x00007f203a867000)
libwx_baseu-3.0.so.0 => /usr/local/lib/libwx_baseu-3.0.so.0
(0x00007f203a3c7000)
libpython3.6m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.6m.so.1.0
(0x00007f2039d03000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f2039975000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f20395d7000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f20393bf000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2038fce000)
libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
(0x00007f20386c7000)
libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
(0x00007f20383d1000)
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
(0x00007f20381c4000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
(0x00007f2037f77000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2
(0x00007f2037c5a000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
(0x00007f2037a36000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(0x00007f20377e2000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007f20374cc000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f2037193000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
(0x00007f2036f8d000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f2036d85000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16
(0x00007f2036b53000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f20368eb000)
libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f2036674000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f2036455000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2036238000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2036034000)
/lib64/ld-linux-x86-64.so.2 (0x00007f203bf4b000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f2035e02000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f2035bff000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
(0x00007f20359fb000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f20357eb000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3
(0x00007f20355e5000)
libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2
(0x00007f20353dc000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
(0x00007f20351b6000)
libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
(0x00007f2034f85000)
libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0
(0x00007f2034c84000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
(0x00007f2034a6e000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
(0x00007f2034829000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
(0x00007f203448b000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1
(0x00007f2034288000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2
(0x00007f203407d000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1
(0x00007f2033e73000)
libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
(0x00007f2033c70000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1
(0x00007f2033a6d000)
libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
(0x00007f203382e000)
libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0
(0x00007f2033626000)
libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
(0x00007f2033424000)
libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
(0x00007f2033215000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f2033003000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2032dfb000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(0x00007f2032b47000)
libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007f203293e000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
(0x00007f2032699000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
(0x00007f2032496000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f203226e000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
(0x00007f2032061000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1
(0x00007f2031e57000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f2031c4f000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f20319dd000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f20317c2000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f20315bb000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2031395000)
libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f2031187000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f2030f3a000)
libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0
(0x00007f2030d0a000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
(0x00007f2030a6c000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1
(0x00007f2030844000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f2030629000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f20303d5000)
libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1
(0x00007f20301ce000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f202ffca000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007f202fdc4000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f202fbaf000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0
(0x00007f202f92b000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3
(0x00007f202f6fe000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f202f4b1000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f202f295000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20
(0x00007f202ef7a000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007f202ed65000)
I’m not going to worry about this evening.
regards
Rolf
On Thursday, July 5, 2018 at 8:56:31 PM UTC+2, Scott Talbert wrote:
It sounds to me like you have an alternative installation of
wxWidgets
that is being found. The official Ubuntu build should have that
fatal
error patched out.
What does:
ldd
/usr/lib/python3/dist-packages/wx/_[core.cpython-36m-x86_64-linux-gnu.so](http://core.cpython-36m-x86_64-linux-gnu.so)
show?
On Thu, 5 Jul 2018, rolfofsaxony wrote:
> You are quite correct Scott, I upgraded to Mint 19, which has
led to a pile
> of detritus left in /usr/local/lib/python3.5/dist-packages
including wx
> After a fight with pip3, I thought that I had removed wxpython
but in fact
> in was still there.
> I have successfully removed wx from /usr/local/lib now,
removed
> python3-wxgtk4.0 and reinstalled it using synaptic.
> As far as I can tell, it installed successfully
> in /usr/lib/python3/dist-packages, which contains:
> wx
> wxPython-4.0.1.egg-info
>
> python3 is definitely pointing at 3.6 but import wx just gives
me Aborted.
>
> python3 -c 'import wx'
> Fatal Error: Mismatch between the program and library build
versions
> detected.
> The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx
> containers,compatible with 2.8),
> and wxCore used 3.0 (wchar_t,compiler with C++ ABI 1011,wx
> containers,compatible with 2.8).
> Aborted
>
> python3.6 -c 'import wx' gives the same message
>
> I shall of course struggle on but if you can think of a
reason, I'd
> appreciate it.
> regards
> Rolf
>
> p.s. perhaps I should have gone for a full install rather than
an upgrade!
>
>
> On Thursday, July 5, 2018 at 6:11:50 PM UTC+2, Scott Talbert > > > wrote:
> On Thu, 5 Jul 2018, rolfofsaxony wrote:
>
> > It is great to see that python3-wxgtk4.0 made it into
the main
> repositories
> > but there are issues with it.
> > The version is reported as 4.0.1 dsfg-2 which is odd
way to
> refer to version
> > 4.0.3.
> >
> > The default python3 on Ubuntu 18 and Mint 19 appears
to have
> move on to
> > 3.6.5, import wx simply aborts.
> >
> > One can issue a python3.5 command on the command line
and the
> import works.
> > Running wx.version() gives '4.0.3 gtk2 (phoenix)
wxWidgets
> 3.0.5'
> >
> > Running with just python or python3 gives the error:
> > Fatal Error: Mismatch between the program and library
build
> versions
> > detected.
> > The library used 3.0 (wchar_t,compiler with C++ ABI
1009,wx
> > containers,compatible with 2.8)
> >
> > Is this an oversight or should we change the shebang
to #!
> /usr/bin/env
> > python3.5 until this is resolved?
>
> Are you 100% sure you haven't installed some other
version over
> the
> official Ubuntu copy? Ubuntu 18.04 should still have
version
> 4.0.1:
>
> [https://launchpad.net/ubuntu/+source/wxpython4.0](https://launchpad.net/ubuntu/+source/wxpython4.0)
>
> Scott
>
> --
> You received this message because you are subscribed to the
Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from
it, send an
> email to wxpython-user...@googlegroups.com.
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
>
>
–
You received this message because you are subscribed to the Google Groups
“wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.