[root@Legion10 ~]
[root@Legion10 ~]
[root@Legion10 ~]
[root@Legion10 ~]
[root@Legion10 ~]
[root@Legion10 ~]
[root@Legion10 ~/Python-2.7.10]# ./configure --prefix=/usr/local/python2.7.10
[root@Legion10 ~/Python-2.7.10]
[root@Legion10 ~/Python-2.7.10]# cd ../ipython-3.0.0/
[root@Legion10 ~/ipython-3.0.0]# /usr/local/python2.7.10/bin/python2.7 setup.py build
[root@Legion10 ~/ipython-3.0.0]# /usr/local/python2.7.10/bin/python2.7 setup.py install
[root@Legion10 ~/ipython-3.0.0]# cd ..
[root@Legion10 ~]# ln -sv /usr/local/python2.7.10/bin/ipython /usr/bin/
"/usr/bin/ipython" -> "/usr/local/python2.7.10/bin/ipython"
[root@Legion10 ~]
"/usr/bin/python2.7" -> "/usr/local/python2.7.10/bin/python2.7"
[root@Legion10 ~]
hello
[root@Legion10 ~]# ipython
Python 2.7.10 (default, Aug 27 2015, 01:19:59)
Type "copyright", "credits" or "license" for more information.
IPython 3.0.0
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import platform
In [2]: platform.uname()
Out[2]:
('Linux',
'Legion10.dwhd.org',
'2.6.32-573.3.1.el6.centos.plus.x86_64',
'#1 SMP Fri Aug 14 01:00:05 UTC 2015',
'x86_64',
'x86_64')
In [3]: platform.
platform.DEV_NULL platform.node platform.python_implementation platform.system
platform.architecture platform.os platform.python_revision platform.system_alias
platform.dist platform.platform platform.python_version platform.uname
platform.java_ver platform.popen platform.python_version_tuple platform.version
platform.libc_ver platform.processor platform.re platform.win32_ver
platform.linux_distribution platform.python_branch platform.release
platform.mac_ver platform.python_build platform.string
platform.machine platform.python_compiler platform.sys
In [3]: exit
[root@Legion10 ~]#