Error: Failed building wheel for wxpython-phoenix

2019-07-07 20:04发布

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 ?

1条回答
We Are One
2楼-- · 2019-07-07 20:21

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
查看更多
登录 后发表回答