Note that there are some explanatory texts on larger screens.

plurals
  1. POmatplotlib.pyplot issue python
    primarykey
    data
    text
    <p>I'm experiencing a problem with matplotlib, to be more precise with pyplot.</p> <p>Just after installing, doing </p> <pre><code>import matplotlib.pyplot </code></pre> <p>gives me this error:</p> <pre><code>ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_png.so, 2): Symbol not found: _png_create_info_struct Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_png.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_png.so </code></pre> <p>So I have no idea what is going on. I'm on Mac OS X 10.6, I have installed python2.7 from disk image and matplotlib from the terminal by using the tar.gz and doing the usual </p> <pre><code>python setup.py build python setup.py install </code></pre> <p>When the installation starts I see:</p> <pre><code>BUILDING MATPLOTLIB matplotlib: 1.1.0 python: 2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4.0.1 (Apple Inc. build 5493)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.6.1 freetype2: 10.0.4 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.44 Tkinter: no * TKAgg requires Tkinter Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: yes Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide adding pytz OPTIONAL USETEX DEPENDENCIES dvipng: 1.13 ghostscript: 8.61 latex: 3.1415926 </code></pre> <p>Any help guys please!</p> <p>Cheers</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload