Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Is this still supported? The current build seems to be installing the wrong versions of some libraries:

begin install mlagents
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torch==1.7.0+cpu
   Using cached https://download.pytorch.org/whl/cpu/torch-1.7.0%2Bcpu-cp37-cp37m-win_amd64.whl (184.2 MB)
Collecting numpy
   Using cached numpy-1.21.6-cp37-cp37m-win_amd64.whl (14.0 MB)
<snip ...>
Collecting protobuf>=3.6
   Using cached protobuf-4.24.4-cp37-cp37m-win_amd64.whl (430 kB)
<snip ...>
ERROR: tensorboard 2.11.2 has requirement protobuf<4,>=3.9.2, but you'll have protobuf 4.24.4 which is incompatible.
ERROR: mlagents-envs 0.23.0 has requirement numpy<1.19.0,>=1.14.1, but you'll have numpy 1.21.6 which is incompatible.
<snip ...>
>call venv/Scripts/activate
  Traceback (most recent call last):
   File "H:\animo\python\tools\lib\runpy.py", line 193, in _run_module_as_main
     "__main__", mod_spec)
   File "H:\animo\python\tools\lib\runpy.py", line 85, in _run_code
     exec(code, run_globals)
   File "H:\animo\venv\Scripts\mlagents-learn.exe\__main__.py", line 4, in <module>
   File "h:\animo\venv\lib\site-packages\mlagents\trainers\learn.py", line 2, in <module>
     from mlagents import torch_utils
   File "h:\animo\venv\lib\site-packages\mlagents\torch_utils\__init__.py", line 1, in <module>
     from mlagents.torch_utils.torch import torch as torch  # noqa
   File "h:\animo\venv\lib\site-packages\mlagents\torch_utils\torch.py", line 25, in <module>
     assert_torch_installed()
   File "h:\animo\venv\lib\site-packages\mlagents\torch_utils\torch.py", line 21, in assert_torch_installed
     + "Version 1.6.0 and later are supported." AssertionError: A compatible version of PyTorch was not installed. Please visit the PyTorch homepage (https://pytorch.org/get-started/locally/) and follow the instructions to install. Version 1.6.0 and later are supported.