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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

'mlagents-learn' is not recognized as an internal or external command, operable program or batch fil

Discussion in 'ML-Agents' started by DeshanGunarathna, Aug 16, 2022.

  1. DeshanGunarathna

    DeshanGunarathna

    Joined:
    Jan 19, 2022
    Posts:
    16
    I have been successfully using mlagents for training my projects for several months. But from today I cannot run the "mlagents-learn" without getting this error. Last time I ran this was yesterday night, which was successfully completed without any errors. I copied the 'venv' folder which consist of the python virtual environment and all the libraries to an external hard disk. This was the only different thing I did among the other usual things. I had several copies with this virtual environment folder with several different projects but nothing work now.

    Please help!!
     
  2. Qacona

    Qacona

    Joined:
    Apr 16, 2022
    Posts:
    9
    You'll need to recreate the virtual environment, you can't just drag and drop it because it breaks the activate scripts.
     
    TV4Fun likes this.