Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12366
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chris@rebertia.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'scipy': 0.05; 'subject:Python': 0.06; '2.6.4': 0.07; 'importerror:': 0.07; 'interpreter': 0.07; 'wrapper': 0.07; 'python': 0.08; '32-bit': 0.09; '>>>>': 0.09; 'skip:" 60': 0.09; 'subject:problems': 0.09; 'url:enthought': 0.09; 'files.': 0.09; 'output': 0.10; '(via': 0.16; '[gcc': 0.16; 'bundles': 0.16; 'enthought': 0.16; 'exists?': 0.16; 'install.': 0.16; 'installer,': 0.16; 'numpy': 0.16; 'numpy,': 0.16; 'scipy,': 0.16; 'subject: \n ': 0.16; 'subject:install': 0.16; 'subject:package': 0.16; 'subject:party': 0.16; 'cc:addr:python-list': 0.16; 'possibly': 0.16; 'wrote:': 0.16; 'cheers,': 0.18; 'cc:no real name:2**0': 0.20; 'appears': 0.20; '(most': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; '(or': 0.23; '64-bit': 0.23; 'received:209.85.213.46': 0.23; 'received:mail-yw0-f46.google.com': 0.23; 'similar,': 0.23; 'pm,': 0.24; 'aug': 0.24; 'libraries': 0.24; 'matching': 0.24; 'traceback': 0.24; 'architecture': 0.26; 'helpful': 0.26; 'work.': 0.27; 'skip:p 30': 0.28; 'url:products': 0.28; 'import': 0.28; 'universal': 0.29; 'message-id:@mail.gmail.com': 0.29; 'environment': 0.29; 'skip:- 30': 0.29; 'cc:addr:python.org': 0.30; 'sun,': 0.30; "skip:' 10": 0.30; 'error': 0.32; 'chris': 0.32; 'installed': 0.32; 'there': 0.33; 'last):': 0.34; 'packages,': 0.34; 'file': 0.36; 'python.org': 0.36; 'install': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'files,': 0.39; 'option': 0.39; 'either': 0.39; 'official': 0.40; 'third': 0.40; "it's": 0.40; 'where': 0.40; 'download': 0.60; 'your': 0.61; 'opened': 0.64; 'believe': 0.65; 'website': 0.65; 'url:php': 0.83; 'sender:addr:chris': 0.84; 'url:rebertia': 0.84; 'skip:/ 60': 0.91; 'skip:d 50': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UuKvHgu8gUNYB0o9yHchL+lZAoYJnESuAuzGBtW6qws=; b=PS976keM2zYXMCd/7IQemxY+j54iVeZPu3ViP/i4x9gJs33fkWn9/iuJI8L1cDxTGG AseAXM/aWuYObQSWwdPdsVW83NGWl1StSlTNhfLLhBRJa27ZxTLpHgF6Ob1FytZoh3U5 +JrZX3p91tGYKsYVmUFS4ipZtIy6MVaMYCDno= |
| MIME-Version | 1.0 |
| Sender | chris@rebertia.com |
| In-Reply-To | <07970388-04d2-463f-b550-ad233b2ad404@r40g2000prf.googlegroups.com> |
| References | <07970388-04d2-463f-b550-ad233b2ad404@r40g2000prf.googlegroups.com> |
| Date | Sun, 28 Aug 2011 18:14:27 -0700 |
| X-Google-Sender-Auth | c6lfbl7LpNZ9WEC2DUW-d4lA6nU |
| Subject | Re: Some problems refer to install 3rd party package of Python on mac OS 10.6.8 |
| From | Chris Rebert <clp2@rebertia.com> |
| To | Gee Chen <cnchenji@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list@python.org |
| 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.524.1314580470.27778.python-list@python.org> (permalink) |
| Lines | 50 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1314580470 news.xs4all.nl 2529 [2001:888:2000:d::a6]:34891 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:12366 |
Show key headers only | View raw
On Sun, Aug 28, 2011 at 5:35 PM, Gee Chen <cnchenji@gmail.com> wrote: > ---------------------------------- > the Python environment on my mac is: > > Python 2.6.4 (r264:75706, Aug 28 2011, 22:29:24) > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin For future reference, when on OS X, it's very helpful to include how you installed your Python, and whether it's 32-bit or 64-bit. <snip> > I found the download adresses of scipy and numpy from official website > 'www.scipy.org'. After downloading 2 latest released dmg files, i > directly installed them with double-click the dmg files. > > Then, i opened Python interpreter in Terminal, and tested whether > scipy & numpy work. The result is disappointed! > > when i inputed ' import scipy' & 'import numpy', the output is : > > >>>> import scipy > Traceback (most recent call last): <snip> > File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ > site-packages/numpy/core/_init_.py", line 5, in <module> > import multiarray > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/ > lib/python2.6/site-packages/numpy/core/multiarray.so, 2): no suitable > image found. Did find: > /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- > packages/numpy/core/multiarray.so: no matching architecture in > universal wrapper <snip> > Is there anybody can tell me where the error exists? I believe you've installed 32-bit libraries for a 64-bit Python (or possibly vice-versa). It appears that NumPy & SciPy official releases are 32-bit-only. So, you can either use the alternate, unofficial 64-bit releases of those packages, or install a 32-bit Python (via Fink, MacPorts, a Python.org installer, etc.). A third option is to install the Enthought Python Distribution (http://www.enthought.com/products/epd.php ) or similar, which bundles Python together with SciPy, NumPy, and other libraries in a single install. Cheers, Chris -- http://rebertia.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Some problems refer to install 3rd party package of Python on mac OS 10.6.8 Gee Chen <cnchenji@gmail.com> - 2011-08-28 17:35 -0700
Re: Some problems refer to install 3rd party package of Python on mac OS 10.6.8 Chris Rebert <clp2@rebertia.com> - 2011-08-28 18:14 -0700
Re: Some problems refer to install 3rd party package of Python on mac OS 10.6.8 Gee Chen <cnchenji@gmail.com> - 2011-08-29 08:32 -0700
csiph-web