error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
+ meson setup C:UsersZavierAppDataLocalTemppip-install-hqh2hfehpandas_a0ef6d4f6eb7451da64a62d8254d3500 C:UsersZavierAppDataLocalTemppip-install-hqh2hfehpandas_a0ef6d4f6eb7451da64a62d8254d3500.mesonpy-2zin67osbuild -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:UsersZavierAppDataLocalTemppip-install-hqh2hfehpandas_a0ef6d4f6eb7451da64a62d8254d3500.mesonpy-2zin67osbuildmeson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:UsersZavierAppDataLocalTemppip-install-hqh2hfehpandas_a0ef6d4f6eb7451da64a62d8254d3500
Build dir: C:UsersZavierAppDataLocalTemppip-install-hqh2hfehpandas_a0ef6d4f6eb7451da64a62d8254d3500.mesonpy-2zin67osbuild
Build type: native build
Project name: pandas
Project version: 2.1.3
....meson.build:2:0: ERROR: Could not find C:Program Files (x86)Microsoft Visual StudioInstallervswhere.exe
A full log can be found at C:UsersZavierAppDataLocalTemppip-install-hqh2hfehpandas_a0ef6d4f6eb7451da64a62d8254d3500.mesonpy-2zin67osbuildmeson-logsmeson-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.
How can I fix this?
Firman nugraha Sya’bana is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
The same problem was discussed and solved in this thread. Maybe this will help –
stackoverflow thread
Mansi Jain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.