查看python版本是32位还是64位,只需要输入下面的命令即可 import platform platform.architecture() 如图1 32位会显示32bit 如图2 64位会显示64bit