Search code examples
pythonpython-3.xinstallationwxpythonpython-3.5

Error: Failed building wheel for wxpython-phoenix while installing wx


I am trying to install wxpython (I have python 3.5.2(32Bit) and Windows 10(64Bit)) I tried :pip install wx and i get: Failed building wheel for wxpython-phoenix 2 times and then a big error line-->

error

I also tried installing Anaconda, but it did not help.How can I overcome the problem ?


Solution

  • There's a lot of questions about failed installations on windows, probably because the packages are compiled when installed, and sometimes the compilation fail when the compiler is not properly configured. I admit I decided to let the specialized people handle it.

    As a nice workaround, you can grab the already built distribution at the official wxpython website located here:

    Python 3.5 32/64 bit windows:

    just download the .whl file and do for example:

    C:\python35\scripts\pip install wxPython_Phoenix-3.0.3.dev2700+c524ed1-cp35-cp35m-win_amd64.whl