docopt not found training not working
help needed: learn.py is unable to run. Similar problem to https://github.com/Unity-Technologies/ml-agents/issues/675 but when i enter
python learn.py (<envname>) --run-id=<run-id> --train
i still get the problem.
the issue is also related to https://github.com/Unity-Technologies/ml-agents/issues/647 as I have gotten the same error message
You might want to share less information about yourself in public.
I was having the same problem, Using Anaconda Navigator I added and updated Docopt from the list it offers which fixed it for me.
@wimachtendink How did you do this? This may be a different problem as I already have docopt installed and there is no update option.
Yeah, when I installed from pip in my ml-agents environment I was getting that error.
I tried it again from Anaconda Navigator, not Anaconda Prompt, and it worked.
I guess you could just verify by going into the Anaconda Navigator>Environments>ml-agents>installed and scroll down to Docopt.

you also don't need the full path of your file as long as it's in the python folder/directory I just use [in the right folder]/python> python learn.py test --run-id=test0 --train
but also, your executable extension is .apk?
https://github.com/Unity-Technologies/ml-agents/blob/master/python/unitytrainers/trainer_controller.py#L38
env_path = (env_path.strip()
.replace('.app', '')
.replace('.exe', '')
.replace('.x86_64', '')
.replace('.x86', '')) # Strip out executable extensions if passed
perhaps .apk is breaking something and Docopt is just their best guess? Maybe train it on a windows/mac/linux build then import it to apk?
This is a duplicate of #749 Please Continue this conversation here.
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.