Is Your Python 64-bit?

Wouldn’t you like to know? I’d like to know because I’m trying to track down why I can’t get `matplotlib` to install. So I tried this:

>>> import sys
>>> is_64bits = sys.maxsize > 2**32
>>> print is_64bits

And back in the shell prompt:

% file -L $(python -c ‘import sys; print(sys.executable)’)
Resources/ Mach-O 64-bit executable x86_64

So I’m 64-bit with my [homebrew installation][].

[homebrew installation]:

(Visited 46 times, 1 visits today)