How do I check if my installed numpy version is 32bit or 64bit?
Bonus Points for a solution which works inside a script and is system independent.
In [65]: import numpy.distutils.system_info as sysinfo In [69]: sysinfo.platform_bits Out[69]: 64
This is based on the value returned by platform.architecture():
platform.architecture()
In [71]: import platform In [72]: platform.architecture() Out[74]: ('64bit', 'ELF')
1.4m articles
1.4m replys
5 comments
57.0k users