Re: [Matplotlib-users] Can't import pyplot, symbol not found error instead

2010-10-05 Thread Åke Kullenberg
The gcc-4.0/4.2 issue was the key to the problem. I did this and matplotlib got installed without any issue, and I could import pyplot ok. * First I set 'export CC=gcc-4.0' * In the same terminal I ran the usual configure/make/make install for libpng and freetype * I then rebuilt matplotlib the us

Re: [Matplotlib-users] Can't import pyplot, symbol not found error instead

2010-10-04 Thread Friedrich Romstedt
Yaaa, this was some time ago, I guess you did the following: * export CC=gcc-4.2 * export MACOSX_DEPLOYMENT_TARGET= * maybe also modifying the setupext.py I must say, that Python distutils (or distribute, whatever you use) overrides the CC environment variable with the gcc version Python w

[Matplotlib-users] Can't import pyplot, symbol not found error instead

2010-10-03 Thread Åke Kullenberg
I just installed matplotlib-1.0.0 on my system (Snow Leopard, python 2.7), but somehow when I try to import pyplot i get the error below. For reference, I installed matplotlib from source. Prior to that I installed libpng-1.4.4 and freetype-2.4.2 the usual way (./configure, make, make install) plu