wxpython是python开发常用图形用户界面(GUI)工具之一,GUI因其直观便捷,对我们提高开发效率一定帮助。这里介绍一下新版本wxPython 4.0.1的安装过程及注意事项。
第1步:下载适合当前操作系统的wxpython版本,与使用的python版本相一致。这里操作系统使用windows10,python3.6。
在wxpython.org网站下载,(https://pypi.org/project/wxPython/#files)

第2步 打开windows的dos操作界面,进入安装了python36的文件夹下,安装install wheel
C:\Users\Administrator>cd C:\Users\Administrator\AppData\Local\Programs\Python\Python36
C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts>pip3.6.exe install wheel

第3步:DOS命令行运行下面语句:
C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts>pip3.6.exe install d:\wxPython-4.0.1-cp36-cp36m-win_amd64.whl

OK
本文介绍如何在Windows 10环境下为Python 3.6安装wxPython 4.0.1版本。首先从官网下载对应版本的安装包,接着通过DOS命令行使用pip工具安装wheel工具,最后安装wxPython。
535

被折叠的 条评论
为什么被折叠?



