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

Bug What happened ?

Discussion in 'ML-Agents' started by deryldev, Dec 25, 2022.

  1. deryldev


    Nov 25, 2022
    Version information:
    ml-agents: 0.29.0,
    ml-agents-envs: 0.29.0,
    Communicator API: 1.5.0,
    PyTorch: 1.7.1+cu110
    Traceback (most recent call last):
    File "C:\Users\HP VICTUS\AppData\Local\Programs\Python\Python37\lib\", line 193, in _run_module_as_main
    "__main__", mod_spec)
    File "C:\Users\HP VICTUS\AppData\Local\Programs\Python\Python37\lib\", line 85, in _run_code
    exec(code, run_globals)
    File "C:\Users\HP VICTUS\AI\venv\Scripts\mlagents-learn.exe\", line 7, in <module>
    File "c:\users\hp victus\ai\venv\lib\site-packages\mlagents\trainers\", line 260, in main
    File "c:\users\hp victus\ai\venv\lib\site-packages\mlagents\trainers\", line 256, in run_cli
    run_training(run_seed, options, num_areas)
    File "c:\users\hp victus\ai\venv\lib\site-packages\mlagents\trainers\", line 89, in run_training
    stats_writers = register_stats_writer_plugins(options)
    File "c:\users\hp victus\ai\venv\lib\site-packages\mlagents\plugins\", line 47, in register_stats_writer_plugins
    if ML_AGENTS_STATS_WRITER not in importlib_metadata.entry_points():
    File "c:\users\hp victus\ai\venv\lib\site-packages\importlib_metadata\", line 261, in __eq__
    return self._key() == other._key()
    AttributeError: 'str' object has no attribute '_key'