Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
17.19k stars 4.16k forks source link

ModuleNotFoundError when training #2048

Closed RobinLbt closed 5 years ago

RobinLbt commented 5 years ago

I'm trying to train my first agent (Puppo the Corvo). I've followed the installation guide and everything works in Unity. I've opened anaconda prompt and activate the environment. I've set the brain of the dog on External and then build the project into Fetch.exe on my desktop. Here is the command prompt when I try to train it:

Capture

xiaomaogy commented 5 years ago

@Kadarach I think you haven't installed the mlagents python package correctly. Try "pip install mlagents-envs".

RobinLbt commented 5 years ago

I installed them successfully but the error is still here

xiaomaogy commented 5 years ago

The error is telling you they are not installed successfully....I am not sure what happens here.

RobinLbt commented 5 years ago

Yes that's strange. Here is what I've tried : Capture56

xiaomaogy commented 5 years ago

Thank you for the discussion. We are closing this issue due to inactivity. Feel free to reopen it if you’d like to continue the discussion though.

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.