Skip to content
HBP1969 edited this page Jan 1, 2024 · 45 revisions

This Wiki is used as a notebook to track the evolution and to store the issues in the implementation of the PredatorPreyGrass environment.

Detailed installation instructions:

editor used: Visual Studio Code 1.85.1

  1. git clone https://github.com/doesburg11/PredPreyGrass.git
  2. ctrl+shift+p, type and choose: "Python: Create Environment..."
  3. Choose environment: Conda
  4. Choose interpreter: Python 3.11.5
  5. Open New Terminal
  6. $pip install -r requirements.txt
  7. IF "ERROR: Failed building wheel for box2d-py" DO: '$conda install swig' in VS Code terminal
  8. If that does not work try first to find other solutions online.
  9. Ultimately one can copy and past the Box2d files from the 'assets/box2d' directory (https://github.com/doesburg11/PredPreyGrass/tree/main/assets/box2d) into the site-packages directory. Not very elegant but it might work.
  10. IF: "libGL error: failed to load driver: swrast" DO: $conda install -c conda-forge gcc=12.1.0
Clone this wiki locally