Re: Re: wxpython install error
Croxmor Moraga <[email protected]> Thu, 27 Sep 2018 21:39:31 -0300
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CABcc6T7CosB25pt3h91fKi=xZXC+1n4-4r771bzw_1Erh0VkZg@mail.gmail.com> |
Thank you, i will take a look El jue., 27 sept. 2018 9:15 PM, Robin Dunn <[email protected]> escribió: > On Thursday, September 27, 2018 at 1:15:53 PM UTC-7, Croxmor Moraga wrote: >> >> 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, based on your error message it's the anaconda Python that is > importing wxPython, or if it is the system Python it is trying to import it > from there instead of from the system's or virtualenv's site-packages > folder. This is the path in your reported traceback that I'm basing this > upon: > > File "/home/rodrigo/anaconda2/lib/python2.7/site-packages/wx/__init__.py", > > > And as i said before the error comes because i donar have the ._core > archive, where can i find it? > > Based on that traceback you should have a _core.so file in > the /home/rodrigo/anaconda2/lib/python2.7/site-packages/wx folder. It is a > binary extension module, not Python code. The ImportError indicates that > either it, or something that it is dynamically loading is trying to load > the libpng12.so.0 shared lib, but it isn't found on your system. > > You can use the ldd tool to list the shared library imports for the .so > files. But first I would try to make sure that the pip you used actually > targets the python environment you are using when importing wxPython. The > easiest way to do this is to use "python -m pip" instead of just "pip". > Next make sure there isn't something in that is messing with the sys.path > (like setting PYTHONPATH in your environment) that might > cause /home/rodrigo/anaconda2/lib/python2.7/site-packages/wx to be found > before the .../site-packages/wx that pip will have installed to. > > -- > 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.