python3/python -m venv <env_name>
source <env_name>/bin/activate
python -m pip install --upgrade pip
pip install weel
Wheel is needed for stably installing Python packages
sudo snap install cmake --classic
sudo apt-get -y install swig
sudo apt-get install python3-dev
pip install pettingzoo[all]
pip install supersuit
pip install tianshou
Note that Tianshou also installed the Pytorch package for DL and required Nvidia card interaction Python packages, the Pytorch does not need to be installed again, except for torch-vision, or extra modules from the Pytorch.
pip install gymnasium[all]
pip install stable-baselines3
pip install ale-py
pip install autorom
AutoROM
pip install tensorboard
pip install wandb
pip install -r requirements.txt