cogment / cogment-verse

Research platform for Human-in-the-loop learning (HILL) & Multi-Agent Reinforcement Learning (MARL)
https://cogment.ai/cogment_verse
Apache License 2.0
76 stars 14 forks source link

Error when try to build cogment-verse on Ubuntu 20.04 under WSL2 #110

Open joao-parana opened 1 year ago

joao-parana commented 1 year ago

I ran git clone to directory /opt/dev/cogment-verse and then ran the comand ./run.sh build. The bash run.sh fails whith message below:

"setup.py" not found. Directory cannot be installed in editable mode

. . .
/usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
created virtual environment CPython3.9.16.final.0-64 in 114ms
  creator CPython3Posix(dest=/opt/dev/cogment-verse/base_python/.venv, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, pkg_resources=latest, via=copy, app_data_dir=/home/soma/.local/share/virtualenv/seed-app-data/v1.0.1.debian.1)
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /opt/dev/cogment-verse/base_python
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

See this related issue #111