vwxyzjn / cleanrl

High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)
http://docs.cleanrl.dev
Other
5.02k stars 575 forks source link

GitPod instance errors out when running poetry install #325

Closed LooseTerrifyingSpaceMonkey closed 1 year ago

LooseTerrifyingSpaceMonkey commented 1 year ago

Problem Description

GitPod instance errors out when running poetry install

Checklist

Current Behavior

After starting the GitPod instance from the README.md file, I attempt to run poetry install. I receive the following:

**RuntimeError

The Poetry configuration is invalid:

Expected Behavior

Poetry installs the requirements without an error message.

Possible Solution

Ensure the correct version of poetry is specified/installed out of the box in the GitPod environment.

A workaround: pip3 uninstall poetry pip3 install poetry -U

Steps to Reproduce

  1. Click on the GitPod button on REAME.md.
  2. Click through the steps to start the environment. Now, you wait for the environment to start.
  3. Log into a terminal.
  4. Ensure you are in the cleanrl directory. If not, cd to it.
  5. Enter poetry install in the terminal.
  6. Error message received.
vwxyzjn commented 1 year ago

It’s probably cached incorrectly. Would you mind creating a PR that updates the Dockerfile.gitpod and modify the poetry installation line to pip install poetry --upgrade?

LooseTerrifyingSpaceMonkey commented 1 year ago

Created a PR: https://github.com/vwxyzjn/cleanrl/pull/326

vwxyzjn commented 1 year ago

Closed by #326