self-operating-computer icon indicating copy to clipboard operation
self-operating-computer copied to clipboard

Compiler cl cannot compile programs

Open SuperiorStormlight opened this issue 7 months ago • 1 comments

Hello,

I am trying to install this on my Windows 11 PC and have gotten the following error during installation:

`+ meson setup C:\Users\user\AppData\Local\Temp\pip-install-lmmvy9y1\contourpy_0535f04277624d54a3ac9a3d0effad65 C:\Users\user\AppData\Local\Temp\pip-install-lmmvy9y1\contourpy_0535f04277624d54a3ac9a3d0effad65.mesonpy-qx0wd5lq -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\Juser\AppData\Local\Temp\pip-install-lmmvy9y1\contourpy_0535f04277624d54a3ac9a3d0effad65.mesonpy-qx0wd5lq\meson-python-native-file.ini The Meson build system Version: 1.7.2 Source dir: C:\Users\user\AppData\Local\Temp\pip-install-lmmvy9y1\contourpy_0535f04277624d54a3ac9a3d0effad65 Build dir: C:\Users\user\AppData\Local\Temp\pip-install-lmmvy9y1\contourpy_0535f04277624d54a3ac9a3d0effad65.mesonpy-qx0wd5lq Build type: native build Project name: contourpy Project version: 1.2.0 Activating VS 17.13.6

  ..\meson.build:1:0: ERROR: Compiler cl cannot compile programs.`

Any help would be appreciated.

SuperiorStormlight avatar Apr 15 '25 21:04 SuperiorStormlight

Try installing Visual Studio builder tools (the package in it should be called like Developmental C++ something)

ghost avatar May 05 '25 00:05 ghost