show() does not pop up a window

build_output.txt (213 KB)

···

From: Benjamin Root <ben.root@…1304…>
To:
Michael Rawlins <rawlins02@…9…>
Cc: "matplotlib-users@lists.sourceforge.net"
matplotlib-users@lists.sourceforge.net
Sent: Tuesday, February 21, 2012 11:26 PM
Subject: Re: [Matplotlib-users] show() does not pop up a window

The results show that none of the backends are building and you are only getting the non-interactive backends. For the build log, just >redirect the output to a file, like so:

python setup.py install > build.log

Ben Root

I do the build and then the install in two steps.

python setup.py build > build_output.txt
sudo python setup.py install > install_output.txt

Got some warnings to standard output even with the redirect. The redirected output during build is attached.

python setup.py build > build_output.txt
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member function ‘bool VoronoiDiagramGenerator::voronoi(int)’:
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning: ‘newintstar.Point::y’ may be used uninitialized in this
function
src/path.cpp: In member function ‘Py::Object _path_module::convert_to_svg(const Py::Tuple&)’:
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base::y2’ may be used uninitialized in this function
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base::x2’ may be used uninitialized in this function
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base::y1’ may be used uninitialized in this function
src/path.cpp:1502: warning: ‘clip_rect.agg::rect_base::x1’ may be used uninitialized in this function

Michael,

Sorry for not getting back to you sooner. Your email got a little buried in my inbox. From your build log, most of the dependencies for the backends are not available. Surprisingly, not even Tkinter. Could you take a look at this page and see if automatically installing dependencies help you out? (Note, if you built numpy from source, and other packages from source, then you will have to manually determine which dependencies you are missing and install).

http://matplotlib.sourceforge.net/faq/installing_faq.html#source-install-from-git

Cheers!
Ben Root