Matplotlib import error

Ian Kelly ian.g.kelly at gmail.com
Fri Feb 6 14:02:52 EST 2015


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.



More information about the Python-list mailing list