Re: Re: wxpython install error
Croxmor Moraga <[email protected]> Thu, 27 Sep 2018 17:16:45 -0300
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CABcc6T7JrTVFwYFCBXAdOJ_MxAYhoA1aUffh8L439aw+1gKy3A@mail.gmail.com> |
And as i said before the error comes because i donar have the ._core archive, where can i find it? El jue., 27 sept. 2018 5:15 PM, Croxmor Moraga < [email protected]> escribió: > Not actually, i used the one from my fedora > Because i use conda commands inside my astroconda envirioment > And my normal python is the 2.7 > And the one from my astroconda is 3.0 > Thats why i use pip > But i will check that archive you mentioned > > El jue., 27 sept. 2018 4:52 PM, Robin Dunn <[email protected]> escribió: > >> 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. >> > -- 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.