Closed
Description
I recently started contributing to matplotlib and ran into a lot of problems trying to get the development version to install on my computer. I documented the process below, would you welcome a pull request against INSTALL
?
Steps to build from source on Windows 7 with Microsoft Visual Studio using Anaconda:
> conda install matplotlib # for required dependencies
For Python 2: Install Microsoft Visual C++ 2008 Express
For Python 3: Install Microsoft Visual C++ 2010 Express
Download GnuWin32 libraries:
http://gnuwin32.sourceforge.net/packages/libpng.htm
http://gnuwin32.sourceforge.net/packages/zlib.htm
http://gnuwin32.sourceforge.net/packages/freetype.htm
Rename files (assuming standard GnuWin32 install location):
C:\Program Files (x86)\GnuWin32\lib\libpng.lib -> png.lib
C:\Program Files (x86)\GnuWin32\lib\zlib.lib -> z.lib
Fix zlib zconf.h bug:
http://sourceforge.net/p/gnuwin32/bugs/169/
Save `setup.cfg.template` as `setup.cfg` (replace with your path to GnuWin32)
and make the following change:
basedirlist = C:\Program Files (x86)\GnuWin32
> pip install -e <matplotlib repository directory>
Metadata
Metadata
Assignees
Labels
No labels