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 the python package for RDDL gym #17

Open
nikhileshp opened this issue Aug 12, 2023 · 0 comments
Open

Unable to install the python package for RDDL gym #17

nikhileshp opened this issue Aug 12, 2023 · 0 comments

Comments

@nikhileshp
Copy link

I was hoping someone can help me troubleshoot. I am trying to install rddlgym on my local conda environment and I keep exiting the installation with the following error

 error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-0x0xbwga/rddl2tf_6b5e8fca317e46da925deb4d8ee0232b/setup.py", line 29, in <module>
          version=read('version.txt'),
        File "/tmp/pip-install-0x0xbwga/rddl2tf_6b5e8fca317e46da925deb4d8ee0232b/setup.py", line 23, in read
          file = open(filepath, 'r')
      FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-0x0xbwga/rddl2tf_6b5e8fca317e46da925deb4d8ee0232b/version.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.

I am installing the package using the code in your Readme file i.e.,
pip3 install -U rddlgym
and I am using a conda environment with python 3.10 for running it. I tried changing the version to python 3.9 and it made no difference

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