You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I got:
Collecting pennylane
Using cached PennyLane-0.39.0-py3-none-any.whl.metadata (9.2 kB)
Collecting numpy<2.1 (from pennylane)
Using cached numpy-2.0.2.tar.gz (18.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
+ C:\Users\SusiwrrTT.conda\envs\qml\python.exe C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665\vendored-meson\meson\meson.py setup C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665 C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665.mesonpy-_lt0rfmi -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665.mesonpy-_lt0rfmi\meson-python-native-file.ini
The system cannot find the file specified.
The Meson build system
Version: 1.4.99
Source dir: C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665
Build dir: C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665.mesonpy-_lt0rfmi
Build type: native build
Project name: NumPy
Project version: 2.0.2
Activating VS 17.12.3
..\meson.build:1:0: ERROR: Compiler cl cannot compile programs.
A full log can be found at C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665\.mesonpy-_lt0rfmi\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
I was trying to install pennylane package on my PC, and I got the following error:
\meson.build:1:0: ERROR: Compiler cl cannot compile programs.
My command :
pip install pennylane --upgrade
And I got:
Collecting pennylane
Using cached PennyLane-0.39.0-py3-none-any.whl.metadata (9.2 kB)
Collecting numpy<2.1 (from pennylane)
Using cached numpy-2.0.2.tar.gz (18.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
+ C:\Users\SusiwrrTT.conda\envs\qml\python.exe C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665\vendored-meson\meson\meson.py setup C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665 C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665.mesonpy-_lt0rfmi -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665.mesonpy-_lt0rfmi\meson-python-native-file.ini
The system cannot find the file specified.
The Meson build system
Version: 1.4.99
Source dir: C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665
Build dir: C:\Users\SusiwrrTT\AppData\Local\Temp\pip-install-fkbqs8br\numpy_e7d8e32595d2498b941f422756720665.mesonpy-_lt0rfmi
Build type: native build
Project name: NumPy
Project version: 2.0.2
Activating VS 17.12.3
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: