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: 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 Subject: Re: installing matplotlib in MacOs 10.6.8. Date: Tue, 27 Dec 2011 01:46:57 -0500 References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 In article , Alex Ter-Sarkissov 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