查看python位数
# python Python 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.architecture()
然后就出现了
(‘64bit‘, ‘ELF‘)
查看centos版本
cat /etc/redhat-release