jbmohler / matplotlib-winbuild

The Unlicense
42 stars 31 forks source link

RuntimeError: Microsoft VS 2010 required - no VS installed #10

Open havryliuk opened 3 years ago

havryliuk commented 3 years ago

I am not sure that this is an issue but I don't have any version of VS installed and am not planning to install it. Without it I can't build matplot wheels, can I?

PS C:\WINDOWS\system32> cd C:\Users\Oleksandr_Gavryliuk\Downloads
PS C:\Users\Oleksandr_Gavryliuk\Downloads> git clone https://github.com/matplotlib/matplotlib
Cloning into 'matplotlib'...
remote: Enumerating objects: 252016, done.
remote: Total 252016 (delta 0), reused 0 (delta 0), pack-reused 252016R
Receiving objects: 100% (252016/252016), 378.99 MiB | 8.39 MiB/s, done.
Resolving deltas: 100% (175339/175339), done.
Updating files: 100% (4392/4392), done.
PS C:\Users\Oleksandr_Gavryliuk\Downloads> git clone https://github.com/jbmohler/matplotlib-winbuild
Cloning into 'matplotlib-winbuild'...
remote: Enumerating objects: 77, done.
remote: Total 77 (delta 0), reused 0 (delta 0), pack-reused 77
Unpacking objects: 100% (77/77), done.
PS C:\Users\Oleksandr_Gavryliuk\Downloads> python matplotlib-winbuild\buildall.py
Traceback (most recent call last):
  File "matplotlib-winbuild\buildall.py", line 58, in <module>
    main(options)
  File "matplotlib-winbuild\buildall.py", line 11, in main
    utils.build_zlib()
  File "C:\Users\Oleksandr_Gavryliuk\Downloads\matplotlib-winbuild\utils.py", line 136, in build_zlib
    cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD))
  File "C:\Users\Oleksandr_Gavryliuk\Downloads\matplotlib-winbuild\utils.py", line 63, in prepare_build_cmd
    raise RuntimeError('Microsoft VS {} required'.format('2010' if VS2010 else '2008'))
RuntimeError: Microsoft VS 2010 required