最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
CentOS 7 安装Python 3.4.5 和iPython 5.0的教程
时间:2022-06-30 20:50:21 编辑:袖梨 来源:一聚教程网
[root@DS-VM-Node250 ~]# yum install readline-devel sqlite-devel gcc make openssl openssl-devel zlib* -y
[root@DS-VM-Node250 ~]# curl -Lk https://www.python.org/ftp/python/3.4.5/Python-3.4.5.tar.xz | xz -d | tar x -C ./ && cd Python-3.4.5/
[root@DS-VM-Node250 ~/Python-3.4.5]# ./configure --prefix=/usr/local/python_3.4.5 && make -j $(awk '/processor/{i++}END{print i}' /proc/cpuinfo) && make install
[root@DS-VM-Node250 ~/Python-3.4.5]# echo 'export PATH=/usr/local/python_3.4.5/bin:$PATH' > /etc/profile.d/py3.sh && . /etc/profile.d/py3.sh
[root@DS-VM-Node250 ~/Python-3.4.5]# curl https://bootstrap.pypa.io/get-pip.py | python3.4
[root@DS-VM-Node250 ~/Python-3.4.5]# pip3 install jupyter
[root@DS-VM-Node250 ~/Python-3.4.5]# ipython -c "print ('hello')"
hello
[root@DS-VM-Node250 ~/Python-3.4.5]# ipython -V
5.0.0
相关文章
- 《夜族崛起》铁匠西里尔位置一览 05-17
- 《寓言之地》1.02更新内容一览 05-17
- 《辐射4》steam好评率介绍 05-17
- 《夜族崛起》技能强化珠宝掉落说明 05-17
- 《辐射4》主机控制台介绍 05-17
- 《星露谷物语》海草和绿藻获取方法 05-17