matplotlib-winbuild
matplotlib-winbuild copied to clipboard
Not working for VS2015
I'm using visual studio 2015, and tried to install mathplotlib, but the install failed because matplotlib-winbuild is only for VS-2008 or VS-2010 .
I had the same issue.
This is not a bug. Python itself is built using VS 2008 (<3.3) and VS 2010 (>=3.3), and any libraries for it should be built using the same compiler.
Python 3.5+ is indeed built using VS 2015. https://packaging.python.org/guides/packaging-binary-extensions/#binary-extensions-for-windows
Python 2.7 used Visual Studio 2008, Python 3.3 and 3.4 used Visual Studio 2010, and Python 3.5+ uses Visual Studio 2015 or later.
Fortunately, someone already patched it, so please refer to that code! https://github.com/jbmohler/matplotlib-winbuild/pull/5/commits/b78cafd2e6f49b19c306e8327ec4a6999873b236