Skip to content
HBP1969 edited this page Dec 29, 2023 · 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: "[swig error](error: command 'swig' failed: No such file or directory)" DO: '$sudo apt install swig' (in outside VS Code Terminal) and reinstall requirements.txt
  8. IF "ERROR: Failed building wheel for box2d-py" DO: '$conda install swig' in VS COde terminal
  9. OR: pip install ufal.pybox2d
  10. IF: "libGL error: failed to load driver: swrast" DO: $conda install -c conda-forge gcc=12.1.0
Clone this wiki locally