通过源码安装wxPython非常麻烦,而且容易出错,也费时间。
通过 重要yum源方式非常的简单,过程如下:
[maokx@localhost Downloads]$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
--2015-03-04 09:50:36-- http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.26, 209.132.181.25, 209.132.181.23, ...
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14524 (14K) [application/x-rpm]
Saving to: ‘epel-release-7-5.noarch.rpm’
100%[==============================================================================================================================>] 14,524 74.7KB/s in 0.2s
2015-03-04 09:50:42 (74.7 KB/s) - ‘epel-release-7-5.noarch.rpm’ saved [14524/14524]
[maokx@localhost Downloads]$ ls
epel-release-7-5.noarch.rpm ulipad wxGTK-2.8.12.tar.gz wxPython-src-3.0.2.0.tar.bz2
limodou-ulipad-master.zip wxGTK-2.8.12 wxPython-src-3.0.2.0 wxWidgets-3.0.2.tar.bz2
[maokx@localhost Downloads]$ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
--2015-03-04 09:51:53-- http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving pkgs.repoforge.org (pkgs.repoforge.org)... 78.46.17.228
Connecting to pkgs.repoforge.org (pkgs.repoforge.org)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [following]
--2015-03-04 09:51:59-- http://rpmforge.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving rpmforge.sw.be (rpmforge.sw.be)... 78.46.17.228
Connecting to rpmforge.sw.be (rpmforge.sw.be)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [following]
--2015-03-04 09:52:04-- http://tree.repoforge.org/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving tree.repoforge.org (tree.repoforge.org)... 78.46.17.228
Connecting to tree.repoforge.org (tree.repoforge.org)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [following]
--2015-03-04 09:52:10-- http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving apt.sw.be (apt.sw.be)... 193.1.193.67
Connecting to apt.sw.be (apt.sw.be)|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12520 (12K) [application/x-redhat-package-manager]
Saving to: ‘rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm’
100%[==============================================================================================================================>] 12,520 20.1KB/s in 0.6s
2015-03-04 09:52:17 (20.1 KB/s) - ‘rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm’ saved [12520/12520]
[maokx@localhost Downloads]$ ls
epel-release-7-5.noarch.rpm rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm wxGTK-2.8.12 wxPython-src-3.0.2.0 wxWidgets-3.0.2.tar.bz2
limodou-ulipad-master.zip ulipad wxGTK-2.8.12.tar.gz wxPython-src-3.0.2.0.tar.bz2
[maokx@localhost Downloads]$ rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
warning: rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
[maokx@localhost Downloads]$ sudo rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
warning: rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:rpmforge-release-0.5.3-1.el7.rf ################################# [100%]
[maokx@localhost Downloads]$ rpm -ivh epel-release-7-5.noarch.rpm
warning: epel-release-7-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
[maokx@localhost Downloads]$ sudo rpm -ivh epel-release-7-5.noarch.rpm
warning: epel-release-7-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-7-5 ################################# [100%]
[maokx@localhost Downloads]$ yum -y install wxPython
Loaded plugins: fastestmirror, langpacks, priorities
You need to be root to perform this command.
[maokx@localhost Downloads]$ sudo yum -y install wxPython
Loaded plugins: fastestmirror, langpacks, priorities
base | 3.6 kB 00:00:00
epel/x86_64/metalink | 5.4 kB 00:00:00
http://ftp6.sjtu.edu.cn/fedora/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2001:da8:8000:6023::230: Network is unreachable"
Trying other mirror.
epel | 4.4 kB 00:00:00
extras | 3.4 kB 00:00:00
rpmforge | 1.9 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/2): epel/x86_64/group_gz | 250 kB 00:00:06
(2/2): epel/x86_64/primary_db | 4.0 MB 00:00:53
(1/3): epel/x86_64/updateinfo | 292 kB 00:00:06
(2/3): rpmforge/primary_db | 125 kB 00:00:09
(3/3): epel/x86_64/pkgtags | 1.4 MB 00:00:23
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* epel: mirrors.ustc.edu.cn
* extras: mirrors.btte.net
* rpmforge: ftp.riken.jp
* updates: mirrors.btte.net
Resolving Dependencies
--> Running transaction check
---> Package wxPython.x86_64 0:2.8.12.0-4.el7 will be installed
--> Processing Dependency: libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_richtext-2.8.so.0(WXU_2.8.11)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_richtext-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_media-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_gl-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_gizmos-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8.5)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8.2)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8.10)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8.1)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8.9)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0(WXU_2.8.5)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0(WXU_2.8.11)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu_xml-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8.5)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8)(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_xrc-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_stc-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_richtext-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_qa-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_media-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_html-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_gl-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_gizmos-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_core-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu_xml-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu_net-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Processing Dependency: libwx_baseu-2.8.so.0()(64bit) for package: wxPython-2.8.12.0-4.el7.x86_64
--> Running transaction check
---> Package wxBase.x86_64 0:2.8.12-8.el7 will be installed
---> Package wxGTK.x86_64 0:2.8.12-8.el7 will be installed
---> Package wxGTK-gl.x86_64 0:2.8.12-8.el7 will be installed
--> Processing Dependency: libGLU.so.1()(64bit) for package: wxGTK-gl-2.8.12-8.el7.x86_64
---> Package wxGTK-media.x86_64 0:2.8.12-8.el7 will be installed
--> Running transaction check
---> Package mesa-libGLU.x86_64 0:9.0.0-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
wxPython x86_64 2.8.12.0-4.el7 epel 10 M
Installing for dependencies:
mesa-libGLU x86_64 9.0.0-4.el7 base 196 k
wxBase x86_64 2.8.12-8.el7 epel 576 k
wxGTK x86_64 2.8.12-8.el7 epel 2.9 M
wxGTK-gl x86_64 2.8.12-8.el7 epel 33 k
wxGTK-media x86_64 2.8.12-8.el7 epel 43 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package (+5 Dependent packages)
Total download size: 14 M
Installed size: 60 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/wxGTK-gl-2.8.12-8.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY 0.0 B/s | 0 B --:--:-- ETA
Public key for wxGTK-gl-2.8.12-8.el7.x86_64.rpm is not installed
(1/6): wxGTK-gl-2.8.12-8.el7.x86_64.rpm | 33 kB 00:00:05
(2/6): mesa-libGLU-9.0.0-4.el7.x86_64.rpm | 196 kB 00:00:06
(3/6): wxGTK-media-2.8.12-8.el7.x86_64.rpm | 43 kB 00:00:06
(4/6): wxBase-2.8.12-8.el7.x86_64.rpm | 576 kB 00:00:07
(5/6): wxGTK-2.8.12-8.el7.x86_64.rpm | 2.9 MB 00:00:31
(6/6): wxPython-2.8.12.0-4.el7.x86_64.rpm | 10 MB 00:00:55
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 234 kB/s | 14 MB 00:01:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-5.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : wxBase-2.8.12-8.el7.x86_64 1/6
Installing : wxGTK-2.8.12-8.el7.x86_64 2/6
Installing : wxGTK-media-2.8.12-8.el7.x86_64 3/6
Installing : mesa-libGLU-9.0.0-4.el7.x86_64 4/6
Installing : wxGTK-gl-2.8.12-8.el7.x86_64 5/6
Installing : wxPython-2.8.12.0-4.el7.x86_64 6/6
Verifying : wxGTK-gl-2.8.12-8.el7.x86_64 1/6
Verifying : wxPython-2.8.12.0-4.el7.x86_64 2/6
Verifying : wxBase-2.8.12-8.el7.x86_64 3/6
Verifying : wxGTK-media-2.8.12-8.el7.x86_64 4/6
Verifying : wxGTK-2.8.12-8.el7.x86_64 5/6
Verifying : mesa-libGLU-9.0.0-4.el7.x86_64 6/6
Installed:
wxPython.x86_64 0:2.8.12.0-4.el7
Dependency Installed:
mesa-libGLU.x86_64 0:9.0.0-4.el7 wxBase.x86_64 0:2.8.12-8.el7 wxGTK.x86_64 0:2.8.12-8.el7 wxGTK-gl.x86_64 0:2.8.12-8.el7 wxGTK-media.x86_64 0:2.8.12-8.el7
Complete!
[maokx@localhost Downloads]$
[maokx@localhost ~]$ python
Python 2.7.5 (default, Jun 17 2014, 18:11:42)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>
相关推荐
"CentOS7安装指南" 本指南将指导您完成 CentOS 7 的安装过程,涵盖从虚拟机设置到安装完成后的基本配置。 虚拟机设置 在开始安装 CentOS 7 之前,需要设置虚拟机的网络适配器模式为“桥接模式”。这将允许虚拟机...
CentOS 7 安装 MySQL
### LAMMPS在CentOS 7上的安装指南 #### 概述 LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) 是一款开源的分子动力学模拟软件,广泛应用于材料科学、物理学、化学等领域。为了能在CentOS 7...
centos7安装mysql方法
Centos7下安装MongoDB Centos7下安装MongoDB是指在Centos7操作系统中安装和配置MongoDB数据库的过程。MongoDB是一个基于分布式文件存储的NoSQL数据库,由C++语言编写,运行稳定,性能高旨在为 WEB 应用提供可扩展的...
centos7离线安装bison
安装步骤参考:https://blog.csdn.net/chkai123/article/details/126229727 docker离线安装 arm架构下离线安装docker docker centos7离线安装docekr 离线安装docker arm架构下安装docker arm架构centos7安装docker
CentOS7离线安装最新版本Podman-4.1.1版本。 当前容器的发展,对Docker逐渐远离,拥抱Containerd和Podman,目前Podman操作基本与Docker一致,让用户从Docker迁移至Podman成为了可能。 由于CentOS7.9默认安装的都是...
在本地虚拟机的场合,需要更换yum安装网络地址配置文件CentOS-Base.repo 从阿里云服务器下载一份CentOS-Base.repo文件存到本地
centos7 安装dotnet完整操作步骤,并用supervisord服务启动dotnet程序
在没有网络连接的情况下,为CentOS 7系统离线安装Vim是一个常见需求,特别是对于那些运行在隔离环境或服务器上的系统。本教程将详细介绍如何在CentOS 7上进行离线安装Vim。 首先,你需要获得一个包含Vim安装文件的...
CentOS(Community ENTerprise ...综上所述,CentOS 7安装教程不仅仅是关于如何下载、烧录ISO并从启动介质引导安装的简单指南,它还需要了解很多预备知识和安装后的配置步骤,以确保系统安装后既稳定又符合用户的需求。
CentOS 7 安装指南 ...首先,需要下载 CentOS 7 的镜像文件,可以从百度网盘下载 CentOS7_X86_64 的镜像文件:https://pan.baidu.com/s/1k0zRQWk8eX-XBvKkOvNXJVmware 的镜像文件也可以从百度网盘下载:...
centos7离线安装bzip2
在Linux系统管理中,经常会遇到需要安装和配置特定工具的情况,本文将详细讲解如何在CentOS 7上安装适用于该系统的bpftrace工具。bpftrace是一款强大的动态跟踪工具,它利用Berkeley Packet Filter (BPF) 架构提供...
CentOS7下安装oracle11g具体步骤
在CentOS 7环境下,由于网络限制或安全策略,有时我们需要离线方式进行源码安装`make`。本文将详细介绍如何在CentOS 7系统中离线安装`make`。 首先,理解`make`的作用。`make`是基于Makefile文件的一个程序,用于...
01phpipam主机安装-centos7安装.mp4