linux系统中,python不分64位与32位,只有python2与python3的区别;且官网上只有Windows系统下的32位python安装包;
但你可以使用以下的命令,查看linux系统的位数;
一、获取操作系统信息
1、打开python:
>>> import platform
>>> platform.platform() #获取操作系统名称及版本号,'Linux-3.13.0-46-generic-i686-with-Deepin-2014.2-trusty'
>>> platform.version() #获取操作系统版本号,'#76-Ubuntu SMP Thu Feb 26 18:52:49 UTC 2015'
>>> platform.architecture()