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

metadata-generation-failed error #48

Closed
santosrai opened this issue Apr 3, 2023 · 5 comments
Closed

metadata-generation-failed error #48

santosrai opened this issue Apr 3, 2023 · 5 comments

Comments

@santosrai
Copy link

I encountered an error while trying to install a package using pip. The error message is "metadata-generation-failed".

Step to Reproduce

Run the following command in the terminal:
python3 -m pip install googlesearch-python

Collecting googlesearch-python
  Using cached googlesearch-python-1.2.0.tar.gz (7.4 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1

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.

Version used for development

pip 23.0.1
Python 3.10.5

@aodrasa
Copy link

aodrasa commented Apr 4, 2023

Having the same issue

@Nv7-GitHub
Copy link
Owner

Hmm, I just pushed this release. Perhaps there is an issue with the wheel

@Nv7-GitHub
Copy link
Owner

Oh, I believe I was missing a setup.cfg file, been a while since I published a version and apparently this is needed now! Was this the cause of the issue? Try installing version 1.2.1

@CrazyWillBear
Copy link

I just tried installing 1.2.1, still not working

@Nv7-GitHub
Copy link
Owner

Oh sorry, it seems there was another issue with requirements.txt not being included, I pushed 1.2.2 to fix that, does that work?

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

4 participants