I’m having this error when I try mlagents-learn, any ideas?
Microsoft Windows [Version 10.0.19044.2728] (c) Microsoft Corporation. All rights reserved. C:\Users\jwsta>cd C:\Users\jwsta\OneDrive\Desktop\ML Agents Test C:\Users\jwsta\OneDrive\Desktop\ML Agents Test>venv\Scripts\activate (venv) C:\Users\jwsta\OneDrive\Desktop\ML Agents Test>mlagents -learn ‘mlagents’ is not recognized as an internal or external command, operable program or batch file. (venv) C:\Users\jwsta\OneDrive\Desktop\ML Agents Test>mlagents-learn c:\users\jwsta\onedrive\desktop\ml agents test\venv\lib\site-packages\torch\cuda_init_.py:52: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: Official Drivers | NVIDIA Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at …\c10\cuda\CUDAFunctions.cpp:100.) return torch._C._cuda_getDeviceCount() > 0 ┐ ╖ ╓╖╬│╡ ││╬╖╖ ╓╖╬│││││┘ ╬│││││╬╖ ╖╬│││││╬╜ ╙╬│││││╖╖ ╗╗╗ ╬╬╬╬╖││╦╖ ╖╬││╗╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╜╜╜ ╟╣╣ ╬╬╬╬╬╬╬╬╖│╬╖╖╓╬╪│╓╣╣╣╣╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╒╣╣╖╗╣╣╣╗ ╣╣╣ ╣╣╣╣╣╣ ╟╣╣╖ ╣╣╣ ╬╬╬╬┐ ╙╬╬╬╬│╓╣╣╣╝╜ ╫╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╟╣╣╣╙ ╙╣╣╣ ╣╣╣ ╙╟╣╣╜╙ ╫╣╣ ╟╣╣ ╬╬╬╬┐ ╙╬╬╣╣ ╫╣╣╣╬ ╟╣╣╬ ╟╣╣╣ ╟╣╣╬ ╣╣╣ ╣╣╣ ╟╣╣ ╣╣╣┌╣╣╜ ╬╬╬╜ ╬╬╣╣ ╙╝╣╣╬ ╙╣╣╣╗╖╓╗╣╣╣╜ ╟╣╣╬ ╣╣╣ ╣╣╣ ╟╣╣╦╓ ╣╣╣╣╣ ╙ ╓╦╖ ╬╬╣╣ ╓╗╗╖ ╙╝╣╣╣╣╝╜ ╘╝╝╜ ╝╝╝ ╝╝╝ ╙╣╣╣ ╟╣╣╣ ╩╬╬╬╬╬╬╦╦╬╬╣╣╗╣╣╣╣╣╣╣╝ ╫╣╣╣╣ ╙╬╬╬╬╬╬╬╣╣╣╣╣╣╝╜ ╙╬╬╬╣╣╣╜ ╙ 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\jwsta\AppData\Local\Programs\Python\Python37\lib\runpy.py”, line 193, in run_module_as_main “main”, mod_spec) File “C:\Users\jwsta\AppData\Local\Programs\Python\Python37\lib\runpy.py”, line 85, in run_code exec(code, run_globals) File "C:\Users\jwsta\OneDrive\Desktop\ML Agents Test\venv\Scripts\mlagents-learn.exe_main.py", line 7, in File “c:\users\jwsta\onedrive\desktop\ml agents test\venv\lib\site-packages\mlagents\trainers\learn.py”, line 260, in main run_cli(parse_command_line()) File “c:\users\jwsta\onedrive\desktop\ml agents test\venv\lib\site-packages\mlagents\trainers\learn.py”, line 256, in run_cli run_training(run_seed, options, num_areas) File “c:\users\jwsta\onedrive\desktop\ml agents test\venv\lib\site-packages\mlagents\trainers\learn.py”, line 89, in run_training stats_writers = register_stats_writer_plugins(options) File “c:\users\jwsta\onedrive\desktop\ml agents test\venv\lib\site-packages\mlagents\plugins\stats_writer.py”, line 47, in register_stats_writer_plugins if ML_AGENTS_STATS_WRITER not in importlib_metadata.entry_points(): File "c:\users\jwsta\onedrive\desktop\ml agents test\venv\lib\site-packages\importlib_metadata_init.py", line 262, in eq return self._key() == other._key() AttributeError: ‘str’ object has no attribute ‘_key’