Skip to content

error: metadata-generation-failed #1662

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

Closed
AlexRibard opened this issue Jan 21, 2024 · 2 comments
Closed

error: metadata-generation-failed #1662

AlexRibard opened this issue Jan 21, 2024 · 2 comments
Labels
invalid This doesn't seem right triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@AlexRibard
Copy link

AlexRibard commented Jan 21, 2024

After cloning the repo (main) and following the install steps I am getting this error when running ./install_requirements.sh

  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      running dist_info
      copying from schema/scalar_type.fbs to exir/_serialize/scalar_type.fbs
      copying from schema/program.fbs to exir/_serialize/program.fbs
      copying from sdk/bundled_program/schema/bundled_program_schema.fbs to sdk/bundled_program/serialize/bundled_program_schema.fbs
      copying from sdk/bundled_program/schema/scalar_type.fbs to sdk/bundled_program/serialize/scalar_type.fbs
      creating /tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info
      writing /tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info/dependency_links.txt
      writing top-level names to /tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info/top_level.txt
      writing manifest file '/tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info/SOURCES.txt'
      reading manifest file '/tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info/SOURCES.txt'
      adding license file 'LICENSE'
      writing manifest file '/tmp/pip-modern-metadata-rtadcve_/UNKNOWN.egg-info/SOURCES.txt'
      creating '/tmp/pip-modern-metadata-rtadcve_/UNKNOWN.dist-info'
      error: invalid command 'bdist_wheel'
      [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.

That's on Ubuntu 22.04.3 LTS Python 3.10.12

@AlexRibard
Copy link
Author

after some digging around issue is linked to the venv and pip. Using conda works

@mergennachin
Copy link
Contributor

Yeah, our standard guidance for now is to use conda. Will close this issue for now.

@mergennachin mergennachin added invalid This doesn't seem right triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants