Re: Re: wxpython install error
Croxmor Moraga <[email protected]> Sat, 29 Sep 2018 19:12:04 -0300
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CABcc6T6VoOFsxR-7sZPoXp0AwEcm4o2PHHLUOm7nOo+ZfmcBVA@mail.gmail.com> |
i tried it but it give me first this error: New python executable in /home/rodrigo/Documentos/test/wxvenv/bin/python2.7 Also creating executable in /home/rodrigo/Documentos/test/wxvenv/bin/python ERROR: The executable /home/rodrigo/Documentos/test/wxvenv/bin/python2.7 is not functioning ERROR: It thinks sys.prefix is u'/usr' (should be u'/home/rodrigo/Documentos/test/wxvenv') ERROR: virtualenv is not compatible with this system or executable So i couldn't make the new envirioment. By the way when i tried the echo $VIRTUAL_ENV , PYTHONPATH AND PHYTONHOME it didn't return anything [rodrigo@localhost ~]$ echo $PYTHONPATH [rodrigo@localhost ~]$ echo $PYTHONHOME What does that mean, because my echo $PATH always work when i used it and returns me the path, now what can i do? El vie., 28 sept. 2018 a las 15:39, Robin Dunn (<[email protected]>) escribió: > 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. > -- 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.