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

Unable to install due to error: metadata-generation-failed #12

Open
Aragath opened this issue Oct 6, 2024 · 0 comments
Open

Unable to install due to error: metadata-generation-failed #12

Aragath opened this issue Oct 6, 2024 · 0 comments

Comments

@Aragath
Copy link

Aragath commented Oct 6, 2024

Hi I was trying to pip install llamagym and encountered this issue:

  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\User\AppData\Local\Temp\pip-install-7gpq7qpc\jericho_d736f6c1f8ce42f6b39e41a757e20cb9\setup.py", line 24, in <module>
          subprocess.check_call(['make', 'clean'], cwd=FROTZPATH)
        File "C:\Users\User\anaconda3\lib\subprocess.py", line 368, in check_call
          retcode = call(*popenargs, **kwargs)
        File "C:\Users\User\anaconda3\lib\subprocess.py", line 349, in call
          with Popen(*popenargs, **kwargs) as p:
        File "C:\Users\User\anaconda3\lib\subprocess.py", line 951, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Users\User\anaconda3\lib\subprocess.py", line 1420, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      FileNotFoundError: [WinError 2] 系統找不到指定的檔案。
      [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.

I'm using a fresh anaconda environment and with python=3.12.7 and not sure what is causing the issue, any help wolud by extremely helpful, thank you in advance!

@Aragath Aragath changed the title Unable to install due with error: metadata-generation-failed Unable to install due to error: metadata-generation-failed Oct 6, 2024
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

1 participant