Matplotlib import error

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Feb 6 14:12:56 EST 2015


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




More information about the Python-list mailing list