问题描述
我正在尝试安装wxpython(我具有python 3.5.2(32位)和Windows 10(64位))我尝试了:pip install wx
,我得到:wxpython-phoenix的构建轮失败2次,然后出现大错误行->
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-->
我也尝试安装Anaconda,但没有帮助.如何解决该问题?
I also tried installing Anaconda, but it did not help.How can I overcome the problem ?
推荐答案
关于在Windows上安装失败的问题很多,可能是因为安装时编译了程序包,有时如果未正确配置编译器,则编译会失败.我承认我决定让专业人士来处理它.
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位窗口:
Python 3.5 32/64 bit windows:
- https://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2700+c524ed1-cp35-cp35m-win_amd64.whl
- https://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2700+c524ed1-cp35-cp35m-win32.whl
- https://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2700+c524ed1-cp35-cp35m-win_amd64.whl
- https://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2700+c524ed1-cp35-cp35m-win32.whl
只需下载.whl
文件并执行以下操作:
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
这篇关于错误:安装wx时,wxpython-phoenix的构建轮失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!