I’m trying to install matplotlib on a 32-bit version of Python. When I run pip install matplotlib, I get the following error when it tries to “Prepare metadata”
WARNING: Failed to activate VS environment: Could not find C:Program Files (x86)Microsoft Visual StudioInstallervswhere.exe
..meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"
I really just want this to work on any 32-bit version of Python. This is on Python 3.9.1, but I’ve tried the most recent version of Python and I get the same error. I’ve tried different matplotlib versions too. Really early matplotlib versions (2.0.x,1.4.3) give me a different error, but it still doesn’t work. Thanks for your help!