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

[BUG] Can't install rl4co in CPython3.11 #90

Closed
2 tasks done
hyeok9855 opened this issue Sep 6, 2023 · 1 comment
Closed
2 tasks done

[BUG] Can't install rl4co in CPython3.11 #90

hyeok9855 opened this issue Sep 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hyeok9855
Copy link
Contributor

hyeok9855 commented Sep 6, 2023

Describe the bug

Can't install rl4co with pip install rl4co or pip install -e . in CPython3.11.

This is because torchrl is not supported in CPython3.11 (see this torchrl issue).

To Reproduce

Please refer to the torchrl issue.

Screenshots

image

Reason and Possible fixes

Maybe specify the right python version that works (e.g. 3.10)?

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have provided a minimal working example to reproduce the bug (required)
@hyeok9855 hyeok9855 added the bug Something isn't working label Sep 6, 2023
@fedebotu
Copy link
Member

fedebotu commented Sep 6, 2023

Hi @hyeok9855 ! Thanks for dropping by. We are aware of the issue and indeed for the time being we are also not testing on the latest Python version because of this problem.
Python 3.11 was recently introduced here in the TorchRL nightlies, so we plan to wait for the latest stable version of TorchRL!
Let's specify the Python version in pyproject.toml for now :)


Example installation with conda:

conda create --name rl4co python=3.10
pip install rl4co

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants