Install Python On AIX 7
Install Python On AIX 7
首页
博客
专栏
学院
社区
技术栈 搜索 发博
首页 >
IT基础架构 >
服务器/存储 >
Install python on AIX 7
zchbaby2000
smit install
专家姓名:赵传华
喜欢各种数据库相关的开发,架构
和性能优化
-> Install Software
博文量 访
-> SOFTWARE to install: aixtools.python3
248 103
-> ACCEPT new license agreements? yes
最新文章
libmemcached编译问题
-bash-3.2# cd /opt/bin
DB2_CAPTURE_LOCKTIME
-bash-3.2# ls -l
total 19904
Jenkins安装
-rwxr-xr-x 1 bin bin 236 Jun 1 23:25 easy_install-3.6
搭建Ansible实验环境
-rwxr-xr-x 1 bin bin 93 Jun 1 23:25 idle3
minishift 安装
Kettle ETL第一次尝试
-rwxr-xr-x 1 bin bin 208 Jun 1 23:25 pip3.6
fio 命令 测试IO性能
-rwxr-xr-x 1 bin bin 78 Jun 1 23:25 pydoc3
查看Linux硬件的一些命令
-rwxr-xr-x 1 bin bin 78 Jun 1 23:25 pydoc3.6
-bash-3.2# ls -l /usr/bin/python
-bash-3.2#
-bash-3.2# pwd
/opt/lib
-bash-3.2# ls -l
total 8
-bash-3.2#
blog.itpub.net/725820/viewspace-2215600/ 1/5
9/9/22, 5:05 PM Install python on AIX 7_ITPUB博客
aixtools.python3.man.en_US
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
aixtools.python3.adt
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
aixtools.python3.rte
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
aixtools.python3.man.en_US
-bash-3.2#
$ python
>>> quit()
安装ibm_db包
要求Xlc是安装好的
blog.itpub.net/725820/viewspace-2215600/ 2/5
9/9/22, 5:05 PM Install python on AIX 7_ITPUB博客
xlccmp.13.1.0.license 13.1.0.0 COMMITTED XL C license files
-bash-3.2#
Step 1:
在/etc/profile里面加入
if [ -f /home/db2inst1/sqllib/db2profile ]; then
. /home/db2inst1/sqllib/db2profile
fi
...
export PATH=/opt/IBM/xlc/13.1.0/bin/:$PATH
Step 2:
cd /opt/bin
Collecting ibm_db
Using cached
Installing collected packages: ibm-db
Collecting ibm_db_sa
Downloading
Collecting sqlalchemy>=0.7.3 (from ibm_db_sa)
Downloading (5.6MB)
Collecting ibm_db_django
Downloading
Requirement already satisfied: ibm_db>=1.0.3 in /opt/lib/python3.5/site-packages (from ibm_db_django) (2.0.9)
Using cached
Collecting pytz (from django>=1.0.3->ibm_db_django)
Using cached
Installing collected packages: pytz, django, ibm-db-django
Step 3:
blog.itpub.net/725820/viewspace-2215600/ 3/5
9/9/22, 5:05 PM Install python on AIX 7_ITPUB博客
查看一下安装的包
Package Version
------------- -------
Django 2.1.2
ibm-db 2.0.9
ibm-db-django 1.1.1.2
ibm-db-sa 0.3.4
pip 18.1
pytz 2018.5
setuptools 20.10.1
SQLAlchemy 1.2.12
-bash-3.2#
Uninstall
ENTER
ENTER
DO!
手工删除安装目录
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/725820/viewspace-2215600/,如需转载,请注明出处,否则将追究法律责任。
点赞 0 收藏 0 分享到:
上一篇:
db2 hadr_spool_limit 下一篇:
安装c, c++编译器 on AIX
请登录后发表评论
登录
全部评论
blog.itpub.net/725820/viewspace-2215600/ 4/5