Python3.9安装wxPython

CentOS9上安装wxPython:

准备工作如下:

pip install setuptools wheel
yum install -y python3-devel
yum install -y epel-release

yum groupinstall "development tools" -y
yum install kernel-headers kernel-devel -y
yum install -y dpkg-devel
yum install -y libjpeg-turbo-devel
yum install -y libtiff-devel
yum install -y SDL2 SDL2-devel
yum install -y gstreamer1-plugins-base-devel
yum install -y gstreamer1 gstreamer1-devel
yum install -y gtk2 gtk2-devel
yum install -y gtk3 gtk3-devel
yum install -y libSM libSM-devel
yum install -y tk tk-devel
yum install -y wxGTK wxBase wxGTK-gl wxGTK-devel wxGTK3-devel
yum install -y freeglut freeglut-devel
yum install -y libnotify-devel

# yum install -y libconfig-devel
# yum install -y libestr-devel
# yum install -y webkitgtk3-devel webkitgtk3 webkitgtk4-devel webkitgtk4

安装wxPython

pip install wxPython

# 指定源安装
pip install wxPython -i https://pypi.tuna.tsinghua.edu.cn/simple

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值