Re: wxpython install error
Robin Dunn <[email protected]> Fri, 28 Sep 2018 11:39:46 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Friday, September 28, 2018 at 9:23:16 AM UTC-7, Croxmor Moraga wrote: > > You are right in what you said about libpng16, i have that one, but i dont > know why wx search for a libpng12, because that doesn exist in my computer, > how do i correct that, i tried what you said before. > I still think that it is likely that some other install of wxPython is being incorrectly imported. If you have an older wxPython build, or perhaps one from anaconda, then it's possible that they may be linking to the older libpng. Try running these commands to do a new trial in a new clean environment. $ mkdir test # use whatever test folder location that you want $ cd test $ python2.7 -m virtualenv wxvenv # install virtualenv if you don't already have it $ source wxvenv/bin/activate $ which python # verify it is the one in wxenv/bin $ which pip # verify it is the one in wxenv/bin $ echo $VIRTUAL_ENV $ echo $PYTHONPATH $ echo $PYTHONHOME $ pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/fedora-28 wxPython $ python -c "import sys; print sys.prefix" $ python -c "import sys, pprint; pprint.pprint(sys.path)" $ python -c "import wx; print wx; print wx.version()" If that still gives you the libpng12 error then copy the whole session (the commands and all their output) and paste it in a reply to this message. -- 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.