python3.3.2如何安装_如何安装python2.3版-2.3.4的安装

博客介绍了Python 2.3的安装与调用方法。先下载相应的rpm包,如python2.3、python2.3 - devel等,接着使用rpm -ivh命令进行安装,安装过程中可能会出现文件冲突警告。最后可使用python2.3进入Python环境,原版本用python调用。

1.下载相应的rpm包

100%[========================================================================================>] 678,130       28.14K/s    ETA 00:00

18:38:08 (28.14 KB/s) - `python2.3-devel-2.3.4-3pydotorg.i386.rpm' saved [678130/678130]

100%[========================================================================================>] 690,451       28.85K/s    ETA 00:00

18:38:35 (28.85 KB/s) - `python2.3-tools-2.3.4-3pydotorg.i386.rpm' saved [690451/690451]

[root@eygle soft]# wget --passive ftp://rpmfind.rediris.es/sites2/fedora.us/fedora/fedora/1/i386/RPMS.os/db4-4.1.25-14.i386.rpm

--18:39:35--  ftp://rpmfind.rediris.es/sites2/fedora.us/fedora/fedora/1/i386/RPMS.os/db4-4.1.25-14.i386.rpm

=> `db4-4.1.25-14.i386.rpm'

Resolving rpmfind.rediris.es... done.

Connecting to rpmfind.rediris.es[130.206.1.5]:21... connected.

Logging in as anonymous ... Logged in!

==> SYST ... done.    ==> PWD ... done.

==> TYPE I ... done.  ==> CWD /sites2/fedora.us/fedora/fedora/1/i386/RPMS.os ... done.

==> PASV ... done.    ==> RETR db4-4.1.25-14.i386.rpm ... done.

[ <=>                                                                                     ] 1,480,750     21.89K/s

18:40:46 (21.89 KB/s) - `db4-4.1.25-14.i386.rpm' saved [1480750]

100%[========================================================================================>] 7,565,683     29.37K/s    ETA 00:00

18:45:07 (29.37 KB/s) - `python2.3-2.3.4-3pydotorg.i386.rpm' saved [7565683/7565683]

2.安装

[root@eygle soft]# rpm -ivh db4-4.1.25-14.i386.rpm

warning: db4-4.1.25-14.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2

warning: python2.3-2.3.4-3pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff

Preparing...                ########################################### [100%]

file /lib/libdb-4.1.so from install of db4-4.1.25-14 conflicts with file from package db4-4.1.25-8

file /usr/lib/libdb_cxx-4.1.so from install of db4-4.1.25-14 conflicts with file from package db4-4.1.25-8

[root@eygle soft]# rpm -ivh python*.rpm

warning: python2.3-2.3.4-3pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff

Preparing...                ########################################### [100%]

1:python2.3              ########################################### [ 33%]

2:python2.3-devel        ########################################### [ 67%]

3:python2.3-tools        ########################################### [100%]

3.调用

使用python2.3来进入python,原来的版本可以使用python来调用

[root@eygle soft]# python2.3Python 2.3.4 (#1, Jul 22 2004, 20:47:54) [GCC 3.3.2 20031022 (Red Hat Linux 3.3.2-1)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>>

ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 1.4.0 Requires-Python >=3.9; 1.4.0rc1 Requires-Python >=3.9; 1.4.1.post1 Requires-Python >=3.9; 1.4.2 Requires-Python >=3.9; 1.5.0 Requires-Python >=3.9; 1.5.0rc1 Requires-Python >=3.9; 1.5.1 Requires-Python >=3.9; 1.5.2 Requires-Python >=3.9; 1.6.0 Requires-Python >=3.9; 1.6.0rc1 Requires-Python >=3.9; 1.6.1 Requires-Python >=3.9; 1.7.0 Requires-Python >=3.10; 1.7.0rc1 Requires-Python >=3.10; 11.0.0 Requires-Python >=3.9; 11.1.0 Requires-Python >=3.9; 11.2.1 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.0.2 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10; 2.1.3 Requires-Python >=3.10; 2.14.0 Requires-Python >=3.9; 2.14.0rc0 Requires-Python >=3.9; 2.2.0 Requires-Python >=3.10; 2.2.0rc1 Requires-Python >=3.10; 2.2.1 Requires-Python >=3.10; 2.2.2 Requires-Python >=3.10; 2.2.3 Requires-Python >=3.10; 2.2.4 Requires-Python >=3.10; 2.2.5 Requires-Python >=3.10; 2.2.6 Requires-Python >=3.10; 2.3.0 Requires-Python >=3.11; 2.3.0rc1 Requires-Python >=3.11; 3.0.0 Requires-Python >=3.9; 3.0.1 Requires-Python >=3.9; 3.0.2 Requires-Python >=3.9; 3.0.3 Requires-Python >=3.9; 3.0.4 Requires-Python >=3.9; 3.0.5 Requires-Python >=3.9; 3.1.0 Requires-Python >=3.9; 3.1.1 Requires-Python >=3.9; 3.10.0 Requires-Python >=3.10; 3.10.0 Requires-Python >=3.9; 3.10.0rc1 Requires-Python >=3.10; 3.10.1 Requires-Python >=3.10; 3.10.3 Requires-Python >=3.10; 3.2.0 Requires-Python >=3.9; 3.2.1 Requires-Python >=3.9; 3.3.0 Requires-Python >=3.9; 3.3.1 Requires-Python >=3.9; 3.3.2 Requires-Python >=3.9; 3.3.3 Requires-Python >=3.9; 3.4.0 Requires-Python >=3.9; 3.4.1 Requires-Python >=3.9; 3.5.0 Requires-Python >=3.9; 3.6.0 Requires-Python >=3.9; 3.7.0 Requires-Python >=3.9; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9; 3.8.1 Requires-Python >=3.9; 3.8.2 Requires-Python >=3.9; 3.8.3 Requires-Python >=3.9; 3.8.4 Requires-Python >=3.9; 3.9.0 Requires-Python >=3.9; 3.9.0rc2 Requires-Python >=3.9; 3.9.1 Requires-Python >=3.9; 3.9.1.post1 Requires-Python >=3.9; 3.9.2 Requires-Python >=3.9; 3.9.3 Requires-Python >=3.9; 3.9.4 Requires-Python >=3.9 ERROR: Could not find a version that satisfies the requirement tensorflow==1.5 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1) ERROR: No matching distribution found for tensorflow==1.5
最新发布
06-09
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值