OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

pip install error: Preparing metadata (pyproject.toml) ... error

  • Thread starter Thread starter kyle
  • Start date Start date
K

kyle

Guest
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:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4 C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22n\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22n\build\meson-python-native-file.ini The Meson build system Version: 1.2.1 Source dir: C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4 Build dir: C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22n\build Build type: native build Project name: pandas Project version: 2.2.2

Code:
  ..\..\meson.build:2:0: ERROR: Could not parse vswhere.exe output

  A full log can be found at C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4\.mesonpy-xvkbs22n\build\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.

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
<p>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.</p>
<p>Python version: 3.11.0
windows 11</p>
<p>Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error</p>
<p>× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
+ meson setup C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4 C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22n\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22n\build\meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4
Build dir: C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4.mesonpy-xvkbs22n\build
Build type: native build
Project name: pandas
Project version: 2.2.2</p>
<pre><code> ..\..\meson.build:2:0: ERROR: Could not parse vswhere.exe output

A full log can be found at C:\Users\user\AppData\Local\Temp\pip-install-pp_1gho0\pandas_c428c00413ef4d5aa6d90953699360e4\.mesonpy-xvkbs22n\build\meson-logs\meson-log.txt
[end of output]
</code></pre>
<p>note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed</p>
<p>× Encountered error while generating package metadata.
╰─> See above for output.</p>
<p>note: This is an issue with the package mentioned above, not pip.
hint: See above for details.</p>
<p>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</p>
 

Latest posts

M
Replies
0
Views
1
MusicLovingIndianGirl
M
Q
Replies
0
Views
1
quora question
Q
Top