python GUI

这个星期用python 写图形化界面,最开始用tinkter 写,头大

后来使用wxPython通过FormBuilder 工具来写

我的系统是ubunt18.04  python 用的Anaconda 3.6

通过pip 安装wxPython找不到合适的版本,(我的环境是Anaconda 3.6,通过pip 安装默认会调用 wxPython)


没办法,只用pycharm 回答系统默认的python2.7 然后安装wxPython

具体命令  sudo apt-get install python-wxpython

自己通过tab 看下版本,我这边通过3.0 和4.0 两个版本

我安装的3.0 更着教程走

教程

https://www.yiibai.com/wxpython/wxpython_gui_builder_tools.html

安装

Linux FormBuilder 过程

Pre-requisites for Ubuntu:

sudo apt-get install libwxgtk3.0-dev libwxgtk-media3.0-dev libboost-dev

Download and build:

git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder
cd wxFormBuilder
./create_build_files4.sh
cd build/3.0/gmake
make config=release
 
 

安装wxFormBuilder的web

https://github.com/wxFormBuilder/wxFormBuilder

猜你喜欢

转载自blog.csdn.net/qq_33291307/article/details/80384268