Closed XanderKehoe closed 4 years ago
Hi @thekiwininja99, did you follow the install instructions? You may have to activate your virtual environment before the command works.
https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Installation.md
Re-installed the entire process and got a step further, but now I get an error running the command:
"Traceback (most recent call last):
File "C:\Users\MyName.conda\envs\ml-agents\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\MyName.conda\envs\ml-agents\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\MyName.conda\envs\ml-agents\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\MyName.conda\envs\ml-agents\Scripts\mlagents-learn-script.py", line 11, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\MyName.conda\envs\ml-agents\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace above this error message when asking for help."
I think you haven't installed the tensorflow correctly. Following the tensorflow guide and install 1.7.1 would be what you want.
We are closing this issue due to inactivity. Feel free to reopen it if you’d like to continue the discussion.
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.
Im following this tutorial (https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Basic-Guide.md) and I am at the "Training the Environment" section. When I get to step 3/4, I input the given commands into my command line but I am met with:
"'mlagents-learn' is not recognized as an internal or external command, operable program or batch file."
How to fix?