Нельзя использовать мл-агенты - PullRequest
0 голосов
/ 01 августа 2020

После установки ml-агентов Unity я получаю сообщение об ошибке, когда набираю

mlagents-learn --help

Traceback (most recent call last):
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Szymon\AppData\Local\Programs\Python\Python37\Scripts\mlagents-learn.exe\__main__.py", line 4, in <module>
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\site-packages\mlagents\trainers\learn.py", line 12, in <module>
    from mlagents import tf_utils
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\site-packages\mlagents\tf_utils\__init__.py", line 1, in <module>
    from mlagents.tf_utils.tf import tf as tf  # noqa
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\site-packages\mlagents\tf_utils\tf.py", line 3, in <module>
    import tensorflow as tf  # noqa I201
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\site-packages\tensorflow\__init__.py", line 101, in <module>
    from tensorflow_core import *
  File "c:\users\szymon\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\__init__.py", line 40, in <module>
    from tensorflow.python.tools import module_util as _module_util
ModuleNotFoundError: No module named 'tensorflow.python.tools'

PS Я использую Windows

...