Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18014

Re: installing matplotlib in MacOs 10.6.8.

From Ned Deily <nad@acm.org>
Subject Re: installing matplotlib in MacOs 10.6.8.
Date 2011-12-27 01:46 -0500
References <CAMW75Yv5f=PdcZqt-ti=iee7gxGfzqP8jXh485zjohd9L63vvA@mail.gmail.com> <nad-DD3F30.09544126122011@news.gmane.org> <CAMW75YsaEAWO5+rJwggfkUSTYto1q+0ZfKVaChTuaDodQY4g+A@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4127.1324968431.27778.python-list@python.org> (permalink)

Show all headers | View raw


In article 
<CAMW75YsaEAWO5+rJwggfkUSTYto1q+0ZfKVaChTuaDodQY4g+A@mail.gmail.com>,
 Alex Ter-Sarkissov <ater1980@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@acm.org

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: installing matplotlib in MacOs 10.6.8. Ned Deily <nad@acm.org> - 2011-12-27 01:46 -0500

csiph-web