-
Notifications
You must be signed in to change notification settings - Fork 4
Home
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.
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: "[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
- IF "ERROR: Failed building wheel for box2d-py" DO: '$conda install swig' in VS COde terminal
- OR: pip install ufal.pybox2d
- IF: "libGL error: failed to load driver: swrast" DO: $conda install -c conda-forge gcc=12.1.0