<div dir="ltr">I've mentioned on the matplotlib mailing list that 1.3.1 is missing from pypi.<div>For installation problems, you'll have more luck on the matplotlib mailing list than here: it seems you may have some dependencies problem, but I'm really not competent enough to help you with that.</div>
<div>Cheers,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 October 2013 19:45, Ned Deily <span dir="ltr"><<a href="mailto:nad@acm.org" target="_blank">nad@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In article <<a href="mailto:m2zjq6mugp.fsf@cochabamba.vanoostrum.org">m2zjq6mugp.fsf@cochabamba.vanoostrum.org</a>>,<br>
<div><div class="h5"> Piet van Oostrum <<a href="mailto:piet@vanoostrum.org">piet@vanoostrum.org</a>> wrote:<br>
> I tried to install it from source, on Mac OS X 10.6.8, with Python<br>
> 3.3.2, and Tck/Tk 8.5 installed as Frameworks, but I get an error during<br>
> compilation. It seems it doesn't find the Tcl/TK framework.<br>
><br>
><br>
> building 'matplotlib.backends._tkagg' extension<br>
> gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot<br>
> /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot<br>
> /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include<br>
> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__tkagg_ARRAY_API<br>
> -DPYCXX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1<br>
> -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-package<br>
> s/numpy/core/include -I/usr/local/include -I/usr/include -I/usr/X11/include<br>
> -I/opt/local/include -I. -I/Library/Frameworks/Tcl.framework/Headers<br>
> -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders<br>
> -I/Library/Frameworks/Tk.framework/Headers<br>
> -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders<br>
> -Iagg24/include<br>
> -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c<br>
> src/ag<br>
>  g_py_transforms.cpp -o<br>
>  build/temp.macosx-10.6-intel-3.3/src/agg_py_transforms.o -framework Tcl<br>
>  -framework Tk<br>
> In file included from<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/ndarraytypes.h:1760,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/arrayobject.h:4,<br>
>                  from src/agg_py_transforms.cpp:6:<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning<br>
> "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API<br>
> NPY_1_7_API_VERSION"<br>
> i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because<br>
> linking not done<br>
> i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because linking<br>
> not done<br>
> i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because<br>
> linking not done<br>
> i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because linking<br>
> not done<br>
> In file included from<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/ndarraytypes.h:1760,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/arrayobject.h:4,<br>
>                  from src/agg_py_transforms.cpp:6:<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning<br>
> "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API<br>
> NPY_1_7_API_VERSION"<br>
> i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because<br>
> linking not done<br>
> i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because linking<br>
> not done<br>
> i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because<br>
> linking not done<br>
> i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because linking<br>
> not done<br>
> gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot<br>
> /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot<br>
> /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include<br>
> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__tkagg_ARRAY_API<br>
> -DPYCXX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1<br>
> -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-package<br>
> s/numpy/core/include -I/usr/local/include -I/usr/include -I/usr/X11/include<br>
> -I/opt/local/include -I. -I/Library/Frameworks/Tcl.framework/Headers<br>
> -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders<br>
> -I/Library/Frameworks/Tk.framework/Headers<br>
> -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders<br>
> -Iagg24/include<br>
> -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c<br>
</div></div>> src/_t<br>
<div><div class="h5">>  kagg.cpp -o build/temp.macosx-10.6-intel-3.3/src/_tkagg.o -framework Tcl<br>
>  -framework Tk<br>
> In file included from<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/ndarraytypes.h:1760,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/arrayobject.h:4,<br>
>                  from src/agg_py_path_iterator.h:7,<br>
>                  from src/_backend_agg.h:43,<br>
>                  from src/_tkagg.cpp:20:<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning<br>
> "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API<br>
> NPY_1_7_API_VERSION"<br>
> In file included from src/_tkagg.cpp:30:<br>
> /usr/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from<br>
> Tcl 8.5<br>
> In file included from<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/ndarraytypes.h:1760,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,<br>
>                  from<br>
>                  /Library/Frameworks/Python.framework/Versions/3.3/lib/python3<br>
>                  .3/site-packages/numpy/core/include/numpy/arrayobject.h:4,<br>
>                  from src/agg_py_path_iterator.h:7,<br>
>                  from src/_backend_agg.h:43,<br>
>                  from src/_tkagg.cpp:20:<br>
> /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/<br>
> numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning<br>
> "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API<br>
> NPY_1_7_API_VERSION"<br>
> In file included from src/_tkagg.cpp:30:<br>
> /usr/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from<br>
> Tcl 8.5<br>
<br>
</div></div>This is a bit of a long shot since I have no personal experience with building<br>
matplotlib but it may be an SDK symlink issue.  IIRC, Xcode 3.2.6, the last<br>
Xcode 3 release, creates a faulty directory / symlink structure within the<br>
10.6 SDK.  What you need to have is:<br>
/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks containing symlinks to<br>
/Library/Frameworks/Tcl.framework and /Library/Frameworks/Tk.framework because<br>
of the -isysroot /Developer/SDKs/MacOSX10.6.sdk on the compiler calls.  Also,<br>
current versions of Xcode 4 and 5 don't attempt to create a symlink at all so<br>
you have to do it manually.  3.2.6 does attempt to do so but gets it wrong.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
 Ned Deily,<br>
 <a href="mailto:nad@acm.org">nad@acm.org</a><br>
<br>
--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>