Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

how do I setup phyton for ml agents

Discussion in 'ML-Agents' started by h-dragon919, Dec 14, 2021.

  1. h-dragon919

    h-dragon919

    Joined:
    Jul 29, 2020
    Posts:
    19
    sorry for the noob question but I don't get how I am supposed to do it and do I need to download the unity example project as they say I have to clone the reposity.
     
  2. spakment

    spakment

    Joined:
    Dec 19, 2017
    Posts:
    90
    Depends on which platform you're on, generally it's useful to use a virtual environment so you can have different python setups. Have a google for "conda python" one you have that then you can do something like:

    Code (Boo):
    1. conda create --name your-env-name python=3.8
    2. conda activate your-env-name
    3. python -m pip install mlagents==0.27.0
     
  3. jrupert-unity

    jrupert-unity

    Unity Technologies

    Joined:
    Oct 20, 2021
    Posts:
    12