win10 wxpython.whl 安装步骤
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