trying to install some basic python packages (pandas and streamlit) and getting the following error. I’ve searched and haven’t found a post with this exact error but have tried several of the options for similar error none of which have seemed to work.
Python version: 3.11.0
windows 11
Preparing metadata (pyproject.toml) … error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
+ meson setup C:UsersuserAppDataLocalTemppip-install-pp_1gho0pandas_c428c00413ef4d5aa6d90953699360e4 C:UsersuserAppDataLocalTemppip-install-pp_1gho0pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22nbuild -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md –vsenv –native-file=C:UsersuserAppDataLocalTemppip-install-pp_1gho0pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22nbuildmeson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:UsersuserAppDataLocalTemppip-install-pp_1gho0pandas_c428c00413ef4d5aa6d90953699360e4
Build dir: C:UsersuserAppDataLocalTemppip-install-pp_1gho0pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22nbuild
Build type: native build
Project name: pandas
Project version: 2.2.2
....meson.build:2:0: ERROR: Could not parse vswhere.exe output
A full log can be found at C:UsersuserAppDataLocalTemppip-install-pp_1gho0pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22nbuildmeson-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.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
tried pip install as i have a thousand times, and was expecting the package to be installed, but each seem to error at this same step with the 12 lines of output
kyle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.