MineDojo / MineCLIP

Foundation Model for MineDojo
MIT License
223 stars 28 forks source link

gym==0.21.0 is deprecated #13

Open karsmars opened 9 months ago

karsmars commented 9 months ago

The current required version of gym is 0.21.0, which is already deprecated and will result in errors while installed by the latest pip and setuptools. Please take a look at these examples for more info.

Please consider updating the gym requirement to a newer version.

BurgerAndreas commented 7 months ago

I found that the following workaround worked:

git clone https://github.com/MineDojo/MineDojo && cd MineDojo
pip install git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40

and edit MineDojo/requirements.txt

setuptools==65.5.0
wheel==0.38.4
# gym==0.21.0 # this version contains a typo

proceed as normal

pip install -e .
python ./scripts/validate_install.py