Re: fatal error: 'lzma.h' file not found and other installation errors
Robin Dunn <[email protected]> Sat, 3 Mar 2018 18:54:11 -0800 (PST)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Friday, March 2, 2018 at 9:09:23 AM UTC-8, Adriano Macarone Palmieri wrote: > > Hi to everybody > o > my name's Adriano and I?m trying to install wxPython to further use for > the package python-mapper. > I'm coming across a real hard time in installing it and, honestly > speaking, I don't understand what's happening under the hook! > > I tried several ways: > 1) I made "brew install wxwidgets" and it worked > 2) I downloaded wxPython as a .tar , opened it and made use of setup.py > file but this error turned off my instalation > > 'lzma.h' file not found > > 3) later I tried to download it by pip with : sudo pip install --upgrade > --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython > > But when I open the python console to check the presence of wx it raises > this error: ImportError: No module named _core > > 4) making pip install wxPython it spell out: > Requirement already satisfied: wxPython in > /Users/adriano/virtualenvs/TDA/lib/python2.7/site-packages > > I'm really running out of ideas in this moment, what am I doing wrong? > You didn't say but it looks like you are on OSX. What Python are you using? (Apple's, stock, homebrew's, etc.) If you're using stock and have no need to use the bleeding edge then just using a plain pip install should be fine. Try cleaning out the old attempts with `pip uninstall wxPython` and then try installing again. -- Robin Dunn Software Craftsman http://wxPython.org <http://wxpython.org/> -- 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.