Skip to main content

Unity ML Agents

Intall

Installations: Anaconda

Install Python and Python

 

  1. Install Anaconda but don't add it to PATH
  2. Install Python and add to Path!PATH during the installation.

image.png


Anaconda itself is a Python distribution, but it is not recommended to add it to path. We install Python after our Anaconda installation so that python commands can be executed systemwide, but conda commands only when using conda shell, to prevent any interference with other applications using Python.

 

image.png

create conda environment

install pytorch https://pytorch.org/get-started/locally/

image.png

pip3 install -e ./ml-agents-envs
pip3 install -e ./ml-agents

image.png

Downgrade protobuf!

pip install protobuf==3.20