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


Groups > comp.lang.python > #85302

Re: Matplotlib import error

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Matplotlib import error
Date 2015-02-06 19:12 +0000
References <CAL2Y8-RVCoy-mBWAbgGqPkazo_xW-x4q0NTyG+A5sm19sg=xmQ@mail.gmail.com> <CAPTjJmrgJCipj+NJYON9VeVBaP9mzvuWmqiJmi4Af17f=y8CLw@mail.gmail.com> <CAL2Y8-QCTh4H2XEvugRayySp5=yPJQ8hxF35eY5o4SvQOq0ofA@mail.gmail.com> <CALwzid=1OcCSxi_Odh=3hj2iXzWRnH04Gha2u7V_O_O+ZBSXSw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18515.1423249989.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 06/02/2015 19:02, Ian Kelly wrote:
> 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.
>

Regardless of numpy this site http://www.lfd.uci.edu/~gohlke/pythonlibs/ 
is a must know about for Windows users.  Is there anything like it for 
the Mac?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Re: Matplotlib import error Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-06 19:12 +0000

csiph-web