matplotlib-winbuild icon indicating copy to clipboard operation
matplotlib-winbuild copied to clipboard

Not working for VS2015

Open couderA opened this issue 9 years ago • 3 comments

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 .

couderA avatar Feb 20 '16 14:02 couderA

I had the same issue.

rsaavy avatar Oct 26 '17 02:10 rsaavy

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.

Remboooo avatar Jul 07 '18 13:07 Remboooo

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

davidhcefx avatar Apr 16 '20 22:04 davidhcefx