Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install -r requirements.txt have error.plz help! #271

Open
johnsmith111333 opened this issue Jan 23, 2024 · 3 comments
Open

pip install -r requirements.txt have error.plz help! #271

johnsmith111333 opened this issue Jan 23, 2024 · 3 comments

Comments

@johnsmith111333
Copy link

error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.

@johnsmith111333
Copy link
Author

why .my python 3.9

@BhanuSaketh
Copy link

error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.

To solve this error try to download the source code of the required package which will be available on GitHub otherwise in the official website of that package and then try to install the package from the command prompt

@Siddharth-Latthe-07
Copy link

@johnsmith111333 This issue is with the preparation of the metadata for one or more of the packages listed in the requirements.txt file. This could be due to a variety of reasons, including missing dependencies, compatibility issues, or problems with the pyproject.toml file.
Try out these steps and let me know, if it works:

  1. Ensure Up-to-Date pip and setuptools by making sure you have the latest versions of pip and setuptools.
  2. use a Virtual env for avoiding package conflicts while installing.
  3. Some packages might use pyproject.toml for their build system. Ensure that the required build tools are installed through
    pip install build

let me know if this solves your issue
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants