Trying to install matplotlib-1.2.1 from source, i.e.,
[macpflm:~/matplotlib-1.2.1] pflm% python3 setup.py install
Everything seems to run ok, but I cannot import macplotlib:
[macpflm:~] pflm% python3
Python 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 11:07:11)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Python(16295) malloc: *** error for object 0x101c86820: pointer being freed
was not allocated
*** set a breakpoint in malloc_error_break to debug
I tried updating libpng and freetype using macports and re-building, it did
not solve the problem.
There are some warnings printed during the build, e.g.,
ld: warning: in /opt/local/lib/libfreetype.dylib, file was built for
unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported
file format which is not the architecture being linked (i386)
ld: warning: in
/Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libstdc++.dylib, file was built
for unsupported file format which is not the architecture being linked
warning: #warning "Using deprecated NumPy API, disable it by #defining
(both warning several times).
Some details from the start of the screen output during the build.
basedirlist is: ['/usr/local/', '/usr', '/usr/X11', '/opt/local']
python: 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 11:07:11)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
OPTIONAL BACKEND DEPENDENCIES
Tkinter: Tkinter: version not identified, Tk: 8.5, Tcl: 8.5
* Building for Gtk+ requires pygtk; you must be able
* to "import gtk" in your build/install environment
Mac OS X native: yes
OPTIONAL DATE/TIMEZONE DEPENDENCIES
dateutil: matplotlib will provide
pytz: matplotlib will provide
six: matplotlib will provide
OPTIONAL USETEX DEPENDENCIES
[Edit setup.cfg to suppress the above messages]
View this message in context: http://matplotlib.1069221.n5.nabble.com/Install-problems-OSX-10-6-8-Python-3-3-1-tp41430.html
Sent from the matplotlib - users mailing list archive at Nabble.com.