-
Notifications
You must be signed in to change notification settings - Fork 102
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
Installation Steps Fail for Docker and PIP #138
Comments
Thank you for raising this issue. This is a recent bug due to incompatibility between pip version >=24.0 and gym version 0.19.0. You can resolve this when using virtualenv by downgrading pip to 24.0 as follows: Fix using PIP
The same can be done for the Dockerfile by changing line 45 as follows: Fix using Docker
I will push this fix to the main branch tomorrow |
Thank you for the helpful response. Unfortunately, the suggested fix does not resolve the issue. I have attached the output of the PIP installation steps pip_output.txt. |
The installation instructions for Docker work, running an example is failing (but that's likely because of an nvidia-container problem). |
Hello, i tried the installation today using pip 21.0 and python 3.8.19. I did the following steps: Then navigate to the f1tenth_gym and install the required packages |
@tungkaG can you please include the output of the installation? |
Describe the bug
Neither set of instructions for installing the f1tenth_gym work correctly. The instructions were taken from https://github.com/f1tenth/f1tenth_gym. There appears to be a problem with f11-gym version 0.19.0, that's referenced from setup.py in the f1tenth_gym master branch.
I tried modifying setup.py from https://github.com/f1tenth/f1tenth_gym to use a more recent version of the gym, the lowest version that passes this step is 0.22.0. However, this causes additional errors, so the fix is something more involved than a version bump to the gym package.
Reproduction using docker
Steps to reproduce:
git clone https://github.com/f1tenth/f1tenth_gym.git
cd f1tenth_gym
docker build -t f1tenth_gym_container -t Dockerfile .
Expected behavior
A successful installation of a docker container for the gym.
Reproduction using PIP
mkdir gymenv
cd gymenv
virtualenv .
source bin/activate
git clone https://github.com/f1tenth/f1tenth_gym.git
cd f1tenth_gym
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: