-
Notifications
You must be signed in to change notification settings - Fork 4
Home
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.
editor used: Visual Studio Code 1.85.1
- git clone https://github.com/doesburg11/PredPreyGrass.git
- ctrl+shift+p, type and choose: "Python: Create Environment..."
- Choose environment: Conda
- Choose interpreter: Python 3.11.5
- Open New Terminal
- $pip install -r requirements.txt
- IF "ERROR: Failed building wheel for box2d-py" DO: '$conda install swig' in VS Code terminal
- If that does not work try first to find other solutions online.
- 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.
- IF: "libGL error: failed to load driver: swrast" DO: $conda install -c conda-forge gcc=12.1.0