Re: wxpython install error
Robin Dunn <[email protected]> Thu, 27 Sep 2018 12:52:50 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday, September 27, 2018 at 11:30:02 AM UTC-7, Croxmor Moraga wrote: > > Greetings, i installed wxpython with the comand: > pip install -U \-f > https://extras.wxpython.org/wxPython4/extras/linux/gtk3/fedora-28 > \wxPython > Looking in links: > https://extras.wxpython.org/wxPython4/extras/linux/gtk3/fedora-28 > For my fedora computer, but after the install completed, i tried to run > import wx and the next error prompted: > >>> import wx > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/home/rodrigo/anaconda2/lib/python2.7/site-packages/wx/__init__.py", line > 17, in <module> > from wx.core import * > File "/home/rodrigo/anaconda2/lib/python2.7/site-packages/wx/core.py", > line 12, in <module> > from ._core import * > ImportError: libpng12.so.0: cannot open shared object file: No such file > or directory > >>> > What can i do about it, it says that i dont have that ._core archive even > when i look for it, i tried to re-install the package but it didn't work, > what can i do, how can i fix this? > From beforehand thank you. > Hmm... The Fedora-28 build should be dynamic linking with libpng16.so, not libpng12. So something weird is definitely going on. Perhaps the wxPython being imported in your example is not actually the one you installed. Is the pip used from the same Python environment? Since you're using anaconda, have you tried using conda to install wxPython? (https://anaconda.org/conda-forge/wxpython) -- Robin -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.