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.

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.05; 'reason.': 0.07; 'eclipse': 0.09; 'interpreter.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'from:addr:acm.org': 0.16; 'strange,': 0.16; 'subject:installing': 0.16; 'subject:matplotlib': 0.16; 'wrote:': 0.18; "doesn't": 0.22; 'here?': 0.23; 'builds.': 0.30; 'imported': 0.30; 'alex': 0.31; 'quite': 0.32; "can't": 0.32; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'to:addr:python-list': 0.34; 'charset:us-ascii': 0.37; 'instead.': 0.37; 'but': 0.37; 'run': 0.37; 'received:org': 0.38; 'some': 0.38; 'either': 0.39; 'to:addr:python.org': 0.40; 'might': 0.40; 'more': 0.61; 'article': 0.74
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: installing matplotlib in MacOs 10.6.8.
Date Tue, 27 Dec 2011 01:46:57 -0500
References <CAMW75Yv5f=PdcZqt-ti=iee7gxGfzqP8jXh485zjohd9L63vvA@mail.gmail.com> <nad-DD3F30.09544126122011@news.gmane.org> <CAMW75YsaEAWO5+rJwggfkUSTYto1q+0ZfKVaChTuaDodQY4g+A@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 70.44.132.33.res-cmts.sm.ptd.net
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4127.1324968431.27778.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1324968431 news.xs4all.nl 6855 [2001:888:2000:d::a6]:45801
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18014

Show key headers only | 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