Open karsmars opened 9 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
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.
https://github.com/openai/gym/issues/3176#issuecomment-1408598628
https://github.com/freqtrade/freqtrade/issues/8376#issuecomment-1520844382
Please consider updating the gym requirement to a newer version.