-
Notifications
You must be signed in to change notification settings - Fork 95
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
Compatibility of Python versions #38
Comments
Hi, docker/Dockerfile is not supposed to be used in that way. To use LeanDojo with, you just have to make sure docker is installed and running. You don't need to build any docker container yourself. LeanDojo requires Python<3.11 because it depends on Ray, which is experimental for Python 3.11: https://docs.ray.io/en/latest/ray-overview/installation.html. We could also switch to Python<=3.11 if that becomes an issue. |
Hi @yangky11, Thanks for the explanation. Thanks. Here is how I configured the project under PyCharmIDE (3) Set the project interpret to use the python inside docker container. |
I have never used PyCharm and thus am unable to help with that. LeanDojo doesn't need any manual setup with Docker. You can just open a terminal and try |
Thank you so much for the suggestion. One workaround would be to use Windows Subsystem for Linux (WSL) to run (1) My platform is Window 11 (WSL). Then install python (3.9) and docker. (2) Create a normal user account ('leandojo') and add this user to docker group how to. This avoids the [GitRepo issue] (#29) Check if my docker is running by typing
(2) Then I run
Still encountered another issue
Thanks. |
This could be related to a previous issue with |
Hi @yangky11 The workaround |
Description
What happened?
The Docker image is using Python 3.11, but LeanDojo requires Python <=3.10
Detailed Steps to Reproduce the Behavior
I ran the Dockerfile in the docker folder, which installed Python 3.11. However, when I entered the terminal of the Docker container and used pip install lean-dojo, I received the following error messages:
Is there any workaround to solve this issue? Thanks.
Platform Information
The text was updated successfully, but these errors were encountered: