Avalon-Benchmark / avalon

A 3D video game environment and benchmark designed from scratch for reinforcement learning research
https://generallyintelligent.com/avalon/
GNU General Public License v3.0
181 stars 16 forks source link

Check_install fails for Mac #36

Open eleninisioti opened 1 year ago

eleninisioti commented 1 year ago

I am following the installation instructions for Mac and command python -m avalon.common.check_install gives the following output/error:

2023-09-18 16:05:41.150 | INFO     | __main__:fetch_binary:92 - Downloading 3.4.4.avalon.0.9.3/macos-editor.zip into /Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/avalon/bin/godot_editor
2023-09-18 16:05:43.707 | INFO     | __main__:install_available_binaries_for_current_platform:144 - Note: No headless runner currently available for macos. Symlinking editor build in it's place.
(avalon) enis@Elenis-MacBook-Pro GrowAI_envs % python -m avalon.common.check_install
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:51: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
  Bool8 = np.bool8
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:54: DeprecationWarning: `np.object0` is a deprecated alias for ``np.object0` is a deprecated alias for `np.object_`. `object` can be used instead.  (Deprecated NumPy 1.24)`.  (Deprecated NumPy 1.24)
  Object0 = np.object0
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:66: DeprecationWarning: `np.int0` is a deprecated alias for `np.intp`.  (Deprecated NumPy 1.24)
  Int0 = np.int0
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:80: DeprecationWarning: `np.uint0` is a deprecated alias for `np.uintp`.  (Deprecated NumPy 1.24)
  UInt0 = np.uint0
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:107: DeprecationWarning: `np.void0` is a deprecated alias for `np.void`.  (Deprecated NumPy 1.24)
  Void0 = np.void0
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:112: DeprecationWarning: `np.bytes0` is a deprecated alias for `np.bytes_`.  (Deprecated NumPy 1.24)
  Bytes0 = np.bytes0
/Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/nptyping/typing_.py:114: DeprecationWarning: `np.str0` is a deprecated alias for `np.str_`.  (Deprecated NumPy 1.24)
  Str0 = np.str0
Worker (PID=39940):  process group: /Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/avalon/datagen/godot/datagen.sh --thread_count=4 -U --input_pipe_path=/var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/tmp/6b3a896f-4f85-4ee8-9335-8211332a192d/godot.log.actions --output_pipe_path=/var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/tmp/6b3a896f-4f85-4ee8-9335-8211332a192d/godot.log.observations --resolution=96x96 --cuda-gpu-id=0 /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/data/0ce60126-7d82-4d44-9af8-0905f94b8e34/132c706c-ecb7-4e4e-be83-b3336492d040/config.json' &>> /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/tmp/6b3a896f-4f85-4ee8-9335-8211332a192d/godot.log
Worker (PID=39940):  TO DEBUG RUN: /Users/enis/miniconda3/envs/avalon/lib/python3.10/site-packages/avalon/datagen/godot/datagen.sh --thread_count=4 -U --input_pipe_path=/var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/data/0ce60126-7d82-4d44-9af8-0905f94b8e34/132c706c-ecb7-4e4e-be83-b3336492d040/actions.out --output_pipe_path=/tmp/debug_output --resolution=96x96 --cuda-gpu-id=0 /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/data/0ce60126-7d82-4d44-9af8-0905f94b8e34/132c706c-ecb7-4e4e-be83-b3336492d040/config.json
Godot error: returncode=SIGHUP(1)
Log: /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/tmp/6b3a896f-4f85-4ee8-9335-8211332a192d/godot.log
Artifacts: /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/godot/godot_env_artifacts__358a993b-4da2-4c9b-9afe-0a0d945ce2d2.tar.gz
Attempting to dump log file here...
realpath: illegal option -- e
usage: realpath [-q] [path ...]

Attempting to log error to sentry...
Godot error: returncode=SIGHUP(1)
Log: /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/tmp/6b3a896f-4f85-4ee8-9335-8211332a192d/godot.log
Artifacts: /var/folders/9v/m9sfgs4x2wq8b_j6xpzf9cjr0000gn/T/science/godot/godot_env_artifacts__358a993b-4da2-4c9b-9afe-0a0d945ce2d2.tar.gz
Attempting to dump log file here... 

I am running on an Mac M1 and my conda environment has the following packages:


appdirs                   1.4.4                    pypi_0    pypi
appnope                   0.1.3                    pypi_0    pypi
arch                      5.3.0                    pypi_0    pypi
asttokens                 2.4.0                    pypi_0    pypi
attrs                     23.1.0                   pypi_0    pypi
avalon-rl                 1.0.0                    pypi_0    pypi
backcall                  0.2.0                    pypi_0    pypi
boto3                     1.28.49                  pypi_0    pypi
botocore                  1.31.49                  pypi_0    pypi
bzip2                     1.0.8                h620ffc9_4
ca-certificates           2023.08.22           hca03da5_0
certifi                   2023.7.22                pypi_0    pypi
chardet                   5.2.0                    pypi_0    pypi
charset-normalizer        3.2.0                    pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
cloudpickle               2.2.1                    pypi_0    pypi
colorlog                  6.7.0                    pypi_0    pypi
contourpy                 1.1.1                    pypi_0    pypi
cycler                    0.11.0                   pypi_0    pypi
decorator                 4.4.2                    pypi_0    pypi
dill                      0.3.7                    pypi_0    pypi
docker-pycreds            0.4.0                    pypi_0    pypi
einops                    0.6.1                    pypi_0    pypi
exceptiongroup            1.1.3                    pypi_0    pypi
executing                 1.2.0                    pypi_0    pypi
filelock                  3.12.4                   pypi_0    pypi
fire                      0.5.0                    pypi_0    pypi
fonttools                 4.42.1                   pypi_0    pypi
gitdb                     4.0.10                   pypi_0    pypi
gitpython                 3.1.36                   pypi_0    pypi
godot-parser              0.1.6                    pypi_0    pypi
gym                       0.25.2                   pypi_0    pypi
gym-notices               0.0.8                    pypi_0    pypi
idna                      3.4                      pypi_0    pypi
imageio                   2.31.3                   pypi_0    pypi
imageio-ffmpeg            0.4.9                    pypi_0    pypi
ipython                   8.15.0                   pypi_0    pypi
jedi                      0.19.0                   pypi_0    pypi
jinja2                    3.1.2                    pypi_0    pypi
jmespath                  1.0.1                    pypi_0    pypi
jsonschema                4.19.0                   pypi_0    pypi
jsonschema-specifications 2023.7.1                 pypi_0    pypi
kiwisolver                1.4.5                    pypi_0    pypi
lazy-loader               0.3                      pypi_0    pypi
libffi                    3.4.4                hca03da5_0
loguru                    0.7.2                    pypi_0    pypi
lxml                      4.9.3                    pypi_0    pypi
mapbox-earcut             1.0.1                    pypi_0    pypi
markupsafe                2.1.3                    pypi_0    pypi
matplotlib                3.8.0                    pypi_0    pypi
matplotlib-inline         0.1.6                    pypi_0    pypi
moviepy                   1.0.3                    pypi_0    pypi
mpmath                    1.3.0                    pypi_0    pypi
ncurses                   6.4                  h313beb8_0
networkx                  3.1                      pypi_0    pypi
nptyping                  2.5.0                    pypi_0    pypi
numpy                     1.26.0                   pypi_0    pypi
openssl                   1.1.1w               h1a28f6b_0
openturns                 1.21                     pypi_0    pypi
packaging                 23.1                     pypi_0    pypi
pandas                    2.1.0                    pypi_0    pypi
parso                     0.8.3                    pypi_0    pypi
pathtools                 0.1.2                    pypi_0    pypi
patsy                     0.5.3                    pypi_0    pypi
pexpect                   4.8.0                    pypi_0    pypi
pickleshare               0.7.5                    pypi_0    pypi
pillow                    10.0.1                   pypi_0    pypi
pip                       23.2.1          py310hca03da5_0
proglog                   0.1.10                   pypi_0    pypi
prompt-toolkit            3.0.39                   pypi_0    pypi
property-cached           1.6.4                    pypi_0    pypi
protobuf                  4.24.3                   pypi_0    pypi
psutil                    5.9.5                    pypi_0    pypi
ptyprocess                0.7.0                    pypi_0    pypi
pure-eval                 0.2.2                    pypi_0    pypi
pycollada                 0.7.2                    pypi_0    pypi
pygments                  2.16.1                   pypi_0    pypi
pyparsing                 3.1.1                    pypi_0    pypi
python                    3.10.0               hbdb9e5c_5
python-dateutil           2.8.2                    pypi_0    pypi
pytz                      2023.3.post1             pypi_0    pypi
pywavelets                1.4.1                    pypi_0    pypi
pyyaml                    6.0.1                    pypi_0    pypi
readline                  8.2                  h1a28f6b_0
referencing               0.30.2                   pypi_0    pypi
requests                  2.31.0                   pypi_0    pypi
rliable                   1.0.8                    pypi_0    pypi
rpds-py                   0.10.3                   pypi_0    pypi
rtree                     1.0.1                    pypi_0    pypi
s3transfer                0.6.2                    pypi_0    pypi
scikit-image              0.21.0                   pypi_0    pypi
scipy                     1.11.2                   pypi_0    pypi
seaborn                   0.12.2                   pypi_0    pypi
sentry-sdk                1.31.0                   pypi_0    pypi
setproctitle              1.3.2                    pypi_0    pypi
setuptools                68.0.0          py310hca03da5_0
sh                        2.0.6                    pypi_0    pypi
shapely                   2.0.1                    pypi_0    pypi
six                       1.16.0                   pypi_0    pypi
smmap                     5.0.1                    pypi_0    pypi
sqlite                    3.41.2               h80987f9_0
stack-data                0.6.2                    pypi_0    pypi
statsmodels               0.14.0                   pypi_0    pypi
svg-path                  6.3                      pypi_0    pypi
sympy                     1.12                     pypi_0    pypi
termcolor                 2.3.0                    pypi_0    pypi
tifffile                  2023.8.30                pypi_0    pypi
tk                        8.6.12               hb8d0fd4_0
torch                     2.0.1                    pypi_0    pypi
tqdm                      4.66.1                   pypi_0    pypi
traitlets                 5.10.0                   pypi_0    pypi
trimesh                   3.21.7                   pypi_0    pypi
typing-extensions         4.8.0                    pypi_0    pypi
tzdata                    2023.3                   pypi_0    pypi
urllib3                   1.26.16                  pypi_0    pypi
wandb                     0.15.10                  pypi_0    pypi
wcwidth                   0.2.6                    pypi_0    pypi
wheel                     0.38.4          py310hca03da5_0
xxhash                    3.3.0                    pypi_0    pypi
xz                        5.4.2                h80987f9_0
zlib                      1.2.13               h5a0b063_0 ```
mx781 commented 1 year ago

Hi there, this looks like the same issue as here - did you run brew install coreutils as in the instructions?