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


Groups > comp.lang.python > #85301

Re: Matplotlib import error

References <CAL2Y8-RVCoy-mBWAbgGqPkazo_xW-x4q0NTyG+A5sm19sg=xmQ@mail.gmail.com> <CAPTjJmrgJCipj+NJYON9VeVBaP9mzvuWmqiJmi4Af17f=y8CLw@mail.gmail.com> <CAL2Y8-QCTh4H2XEvugRayySp5=yPJQ8hxF35eY5o4SvQOq0ofA@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2015-02-06 12:02 -0700
Subject Re: Matplotlib import error
Newsgroups comp.lang.python
Message-ID <mailman.18514.1423249416.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Feb 6, 2015 at 11:49 AM, C Smith <illusiontechniques@gmail.com> wrote:
> On Fri, Feb 6, 2015 at 10:20 AM, Chris Angelico <rosuav@gmail.com> wrote:
>> On Sat, Feb 7, 2015 at 3:34 AM, C Smith <illusiontechniques@gmail.com> 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.

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


Thread

Re: Matplotlib import error Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-06 12:02 -0700

csiph-web