Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:error': 0.03; 'binary': 0.07; 'environments': 0.07; 'importerror:': 0.07; 'properly.': 0.09; '2):': 0.16; 'ah,': 0.16; 'guess.': 0.16; 'help?': 0.16; 'numpy': 0.16; 'skip:d 110': 0.16; 'subject:import': 0.16; 'symlink': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'packages.': 0.19; 'feb': 0.22; '>>>': 0.22; 'install': 0.23; 'errors.': 0.24; 'source': 0.25; 'skip:_ 20': 0.27; 'header :In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'gcc': 0.31; 'search.': 0.31; 'worked': 0.33; 'url:python': 0.33; 'actively': 0.33; 'fri,': 0.33; 'mac': 0.33; 'maybe': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'really': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'virtual': 0.37; 'being': 0.38; 'question,': 0.38; 'saves': 0.38; 'to:addr:python-list': 0.38; 'heard': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'even': 0.60; 'problems.': 0.60; 'making': 0.63; 'story': 0.63; 'smith': 0.68; 'day': 0.76; '2015': 0.84; 'hostile': 0.84; 'pain': 0.84; 'regret': 0.91; 'before?': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=pQ7K5wahd4IpSF0rlSwS2WvvnZEKQKTYto3AmiFH79I=; b=i/flVAJBddswEpcDCMeArzuLC+MW9qt+eoalTgy9cyrgRxAm4wD/ZsqJ3ab8hMOXVq B/9p8jF14DdK4UNxAYUqnf4KHHsXEc1e9NN9LMimzXwzwQXiCjA9Q9221vPediR7VuNo CcMa0LLs1zs4c/HZs40cnhg/N/otZCKzVaEoGZW3DyR5rVq2cjlmpbJI+GR8bN2oUtaH jhtVYCQ43ARiv65zZKCSC3hut+TswzODf5/G3QxUkGMbcWByu9ECwuCJSNCV0el63rN6 CblE5IEz20JDVG9M5pPOsmO6cw6g0WhEwtdmBgLGPaT+4uWyr3MRv3PKGyzT5A8Aitkf OD4Q== X-Received: by 10.68.201.225 with SMTP id kd1mr8136574pbc.11.1423249412413; Fri, 06 Feb 2015 11:03:32 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Fri, 6 Feb 2015 12:02:52 -0700 Subject: Re: Matplotlib import error To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423249416 news.xs4all.nl 2849 [2001:888:2000:d::a6]:50974 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:85301 On Fri, Feb 6, 2015 at 11:49 AM, C Smith wrote: > On Fri, Feb 6, 2015 at 10:20 AM, Chris Angelico wrote: >> On Sat, Feb 7, 2015 at 3:34 AM, C Smith wrote: >>> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so, >>> 2): Symbol not found: __gfortran_compare_string >> >> Ah, installing from source on a Mac and having problems. Have I heard >> this story before? Just occasionally? It's almost as if the platform >> is actively hostile toward C and Fortran... >> >> But I found this at the far end of a Google search. Maybe it'll help? >> >> http://stackoverflow.com/questions/22080154/error-importing-numpy-after-upgrading-with-pip >> >> ChrisA >> -- >> https://mail.python.org/mailman/listinfo/python-list > > I already had gcc installed and had used it to build other packages. > It worked in the past when clang was throwing errors. I tried making > the symlink from the stackoverflow question, but still get the same > errors. I will look around and see if I can find if gcc is even being > used by pip properly. I really regret not using virtual environments > from day one. Lesson learned the hard way, I guess. Thanks With numpy and non-Linux platforms, I find it saves a lot of pain to just install a binary distribution.