installing matplotlib in MacOs 10.6.8.

Ned Deily nad at acm.org
Tue Dec 27 01:46:57 EST 2011


In article 
<CAMW75YsaEAWO5+rJwggfkUSTYto1q+0ZfKVaChTuaDodQY4g+A at mail.gmail.com>,
 Alex Ter-Sarkissov <ater1980 at gmail.com> wrote:
> that's quite weird: if I run python2.7-32 in terminal, it works like you
> said, but when I add it as an interpreter in Eclipse, matplotlib.pyplot
> doesn't get imported for some reason. Even more strange, either way
> platform.architecture() reports 64-bit. What's wrong here?

platform.architecture() is not accurate for OS X 64-/32-bit builds.  Use 
sys.maxsize instead.  I have no experience with Eclipse so I really 
can't say how Eclipse might be launching the interpreter.  Sorry!

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list