Farama-Foundation / Gymnasium

An API standard for single-agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym)
https://gymnasium.farama.org
MIT License
7.39k stars 835 forks source link

Error when install on a fresh repl.it #441

Closed willgdjones closed 1 year ago

willgdjones commented 1 year ago

Describe the bug

Erroring on fresh install of a repli.it with `pip install "gymnasium[all]"

Code example

ERROR: Command errored out with exit status 1: /home/runner/PurePlainDeadcode/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7d34zp80/box2d-py_a7ebb739c9c64eeebbe177f38e4e5328/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7d34zp80/box2d-py_a7ebb739c9c64eeebbe177f38e4e5328/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-z58ou2gs/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/PurePlainDeadcode/venv/include/site/python3.10/box2d-py Check the logs for full command output.

System info

No response

Additional context

No response

Checklist

pseudo-rnd-thoughts commented 1 year ago

Could you post the full logs as you haven't provided enough information to understand what when wrong Have you installed swig?

willgdjones commented 1 year ago

Looks like Repl.it struggles when installing swig! I'll post logs

willgdjones commented 1 year ago
~/SmallCourteousApplets$ pip install "gymnasium[all]
> ^C
~/SmallCourteousApplets$ pip install "gymnasium[all]"
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Collecting gymnasium[all]
  Downloading https://package-proxy.replit.com/pypi/packages/60/82/3762ef4555791a729ae554e13c011efe5e8347d7eba9ea5ed245a8d1b234/gymnasium-0.28.1-py3-none-any.whl (925 kB)
     |████████████████████████████████| 925 kB 9.2 MB/s 
Collecting jax-jumpy>=1.0.0
  Downloading https://package-proxy.replit.com/pypi/packages/73/23/338caee543d80584916da20f018aeb017764509d964fd347b97f41f97baa/jax_jumpy-1.0.0-py3-none-any.whl (20 kB)
Requirement already satisfied: numpy>=1.21.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.24.1)
Collecting typing-extensions>=4.3.0
  Using cached typing_extensions-4.4.0-py3-none-any.whl
Collecting farama-notifications>=0.0.1
  Downloading https://package-proxy.replit.com/pypi/packages/05/2c/ffc08c54c05cdce6fbed2aeebc46348dbe180c6d2c541c7af7ba0aa5f5f8/Farama_Notifications-0.0.4-py3-none-any.whl (2.5 kB)
Collecting cloudpickle>=1.2.0
  Using cached cloudpickle-2.2.1-py3-none-any.whl
Collecting moviepy>=1.0.0
  Using cached https://package-proxy.replit.com/pypi/packages/18/54/01a8c4e35c75ca9724d19a7e4de9dc23f0ceb8769102c7de056113af61c3/moviepy-1.0.3.tar.gz (388 kB)
Collecting pygame==2.1.3
  Using cached pygame-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting jax==0.3.24
  Using cached https://package-proxy.replit.com/pypi/packages/70/4a/1a6beaad79427f9a40d025a1411dfeffe9adce61a958e5ace0dbb9425a19/jax-0.3.24.tar.gz (1.1 MB)
Collecting matplotlib>=3.0
  Using cached matplotlib-3.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting imageio>=2.14.1
  Downloading https://package-proxy.replit.com/pypi/packages/ad/5b/fa636ec082247ffc250c2a16bb262f3405654cbb098a70996d99d59677eb/imageio-2.27.0-py3-none-any.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 41.5 MB/s 
Collecting shimmy[atari]<1.0,>=0.1.0
  Using cached Shimmy-0.2.1-py3-none-any.whl
Collecting swig==4.*
  Using cached swig-4.1.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Collecting opencv-python>=3.0
  Using cached opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting torch>=1.0.0
  Using cached torch-2.0.0-cp310-cp310-manylinux1_x86_64.whl
Collecting lz4>=3.1.0
  Using cached lz4-4.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting mujoco-py<2.2,>=2.1
  Using cached mujoco_py-2.1.2.14-py3-none-any.whl
Collecting mujoco>=2.3.2
  Downloading https://package-proxy.replit.com/pypi/packages/6d/27/90cc9b4f88c5b797417e1fbeacb7590cd85f7e464a8ab79f60c885708e39/mujoco-2.3.3-2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
     |████████████████████████████████| 4.3 MB 42.0 MB/s 
Collecting jaxlib==0.3.24
  Using cached jaxlib-0.3.24-cp310-cp310-manylinux2014_x86_64.whl
Collecting box2d-py==2.3.5
  Using cached https://package-proxy.replit.com/pypi/packages/dd/5a/ad8d3ef9c13d5afcc1e44a77f11792ee717f6727b3320bddbc607e935e2a/box2d-py-2.3.5.tar.gz (374 kB)
Collecting opt_einsum
  Using cached opt_einsum-3.3.0-py3-none-any.whl
Collecting scipy>=1.5
  Using cached scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting pillow>=8.3.2
  Downloading https://package-proxy.replit.com/pypi/packages/25/6b/d3c35d207c9c0b6c2f855420f62e64ef43d348e8c797ad1c32b9f2106a19/Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 43.7 MB/s 
Collecting cycler>=0.10
  Using cached cycler-0.11.0-py3-none-any.whl
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Collecting contourpy>=1.0.1
  Using cached contourpy-1.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Requirement already satisfied: pyparsing>=2.3.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (3.0.9)
Collecting python-dateutil>=2.7
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl
Collecting fonttools>=4.22.0
  Downloading https://package-proxy.replit.com/pypi/packages/16/07/1c7547e27f559ec078801d522cc4d5127cdd4ef8e831c8ddcd9584668a07/fonttools-4.39.3-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 40.1 MB/s 
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (23.0)
Collecting decorator<5.0,>=4.0.2
  Using cached decorator-4.4.2-py2.py3-none-any.whl
Collecting tqdm<5.0,>=4.11.2
  Using cached tqdm-4.65.0-py3-none-any.whl
Requirement already satisfied: requests<3.0,>=2.8.1 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (2.28.2)
Collecting proglog<=1.0.0
  Using cached proglog-0.1.10-py3-none-any.whl
Collecting imageio_ffmpeg>=0.2.0
  Using cached imageio_ffmpeg-0.4.8-py3-none-manylinux2010_x86_64.whl
Collecting glfw
  Downloading https://package-proxy.replit.com/pypi/packages/cd/d5/ba7df438f461ce756d7117ed03c63e29eb9032d996e47e1b602395b22a7b/glfw-2.5.9-py2.py27.py3.py30.py31.py32.py33.py34.py35.py36.py37.py38-none-manylinux2014_x86_64.whl (207 kB)
     |████████████████████████████████| 207 kB 50.3 MB/s 
Collecting pyopengl
  Using cached PyOpenGL-3.1.6-py3-none-any.whl
Collecting absl-py
  Using cached absl_py-1.4.0-py3-none-any.whl
Collecting fasteners~=0.15
  Using cached fasteners-0.18-py3-none-any.whl
Requirement already satisfied: cffi>=1.10 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (1.15.1)
Collecting Cython>=0.27.2
  Using cached Cython-0.29.33-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Requirement already satisfied: pycparser in ./venv/lib/python3.10/site-packages (from cffi>=1.10->mujoco-py<2.2,>=2.1->gymnasium[all]) (2.21)
Requirement already satisfied: six>=1.5 in ./venv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=3.0->gymnasium[all]) (1.16.0)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (1.26.14)
Collecting ale-py~=0.8.1
  Using cached ale_py-0.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting importlib-resources
  Using cached importlib_resources-5.12.0-py3-none-any.whl
Collecting nvidia-curand-cu11==10.2.10.91
  Using cached nvidia_curand_cu11-10.2.10.91-py3-none-manylinux1_x86_64.whl
Collecting nvidia-cuda-nvrtc-cu11==11.7.99
  Using cached nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl
Collecting nvidia-cusparse-cu11==11.7.4.91
  Using cached nvidia_cusparse_cu11-11.7.4.91-py3-none-manylinux1_x86_64.whl
Collecting nvidia-cusolver-cu11==11.4.0.1
  Using cached nvidia_cusolver_cu11-11.4.0.1-2-py3-none-manylinux1_x86_64.whl
Collecting networkx
  Downloading https://package-proxy.replit.com/pypi/packages/a8/05/9d4f9b78ead6b2661d6e8ea772e111fc4a9fbd866ad0c81906c11206b55e/networkx-3.1-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 51.8 MB/s 
Collecting nvidia-cudnn-cu11==8.5.0.96
  Using cached nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl
Collecting nvidia-cuda-runtime-cu11==11.7.99
  Using cached nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.9.0)
Collecting triton==2.0.0
  Downloading https://package-proxy.replit.com/pypi/packages/ca/31/ff6be541195daf77aa5c72303b2354661a69e717967d44d91eb4f3fdce32/triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.3 MB)
     |████████████████████████████████| 63.3 MB 2.2 MB/s 
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1.2)
Collecting nvidia-nvtx-cu11==11.7.91
  Using cached nvidia_nvtx_cu11-11.7.91-py3-none-manylinux1_x86_64.whl
Collecting nvidia-cublas-cu11==11.10.3.66
  Using cached nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl
Collecting nvidia-nccl-cu11==2.14.3
  Using cached nvidia_nccl_cu11-2.14.3-py3-none-manylinux1_x86_64.whl
Collecting sympy
  Using cached sympy-1.11.1-py3-none-any.whl
Collecting nvidia-cuda-cupti-cu11==11.7.101
  Using cached nvidia_cuda_cupti_cu11-11.7.101-py3-none-manylinux1_x86_64.whl
Collecting nvidia-cufft-cu11==10.9.0.58
  Using cached nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl
Collecting wheel
  Using cached wheel-0.38.4-py3-none-any.whl
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (63.2.0)
Collecting lit
  Downloading https://package-proxy.replit.com/pypi/packages/90/d8/acc8162b58aa44e899f6d4a4607650290624db71564e9b168716900510af/lit-16.0.0.tar.gz (144 kB)
     |████████████████████████████████| 144 kB 51.4 MB/s 
Collecting cmake
  Downloading https://package-proxy.replit.com/pypi/packages/b0/93/74245e24426bd870ea56006be302805ed0bddb50e52edd700e5ddbd259bb/cmake-3.26.1-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (24.0 MB)
     |████████████████████████████████| 24.0 MB 2.4 MB/s 
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch>=1.0.0->gymnasium[all]) (2.1.2)
Collecting mpmath>=0.19
  Using cached mpmath-1.3.0-py3-none-any.whl
Using legacy 'setup.py install' for box2d-py, since package 'wheel' is not installed.
Using legacy 'setup.py install' for jax, since package 'wheel' is not installed.
Using legacy 'setup.py install' for moviepy, since package 'wheel' is not installed.
Using legacy 'setup.py install' for lit, since package 'wheel' is not installed.
WARNING: pip is using a content-addressable pool to install files from. This experimental feature is enabled through --use-feature=content-addressable-pool and it is not ready for production.
Installing collected packages: wheel, typing-extensions, jax-jumpy, farama-notifications, cloudpickle, tqdm, pillow, nvidia-cublas-cu11, mpmath, lit, importlib-resources, gymnasium, cmake, triton, sympy, shimmy, scipy, python-dateutil, pyopengl, proglog, opt-einsum, nvidia-nvtx-cu11, nvidia-nccl-cu11, nvidia-cusparse-cu11, nvidia-cusolver-cu11, nvidia-curand-cu11, nvidia-cufft-cu11, nvidia-cudnn-cu11, nvidia-cuda-runtime-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-cupti-cu11, networkx, kiwisolver, imageio-ffmpeg, imageio, glfw, fonttools, fasteners, decorator, Cython, cycler, contourpy, ale-py, absl-py, torch, swig, pygame, opencv-python, mujoco-py, mujoco, moviepy, matplotlib, lz4, jaxlib, jax, box2d-py
  Attempting uninstall: typing-extensions
    Found existing installation: typing-extensions 3.10.0.2
    Uninstalling typing-extensions-3.10.0.2:
      Successfully uninstalled typing-extensions-3.10.0.2
    Running setup.py install for lit ... done

^CERROR: Operation cancelled by user
~/SmallCourteousApplets$ pip install "gymnasium[all]"
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Requirement already satisfied: gymnasium[all] in ./venv/lib/python3.10/site-packages (0.28.1)
Requirement already satisfied: farama-notifications>=0.0.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.0.4)
Requirement already satisfied: numpy>=1.21.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.24.1)
Requirement already satisfied: typing-extensions>=4.3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.4.0)
Requirement already satisfied: jax-jumpy>=1.0.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.0.0)
Requirement already satisfied: cloudpickle>=1.2.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.2.1)
Collecting box2d-py==2.3.5
  Using cached https://package-proxy.replit.com/pypi/packages/dd/5a/ad8d3ef9c13d5afcc1e44a77f11792ee717f6727b3320bddbc607e935e2a/box2d-py-2.3.5.tar.gz (374 kB)
Collecting mujoco>=2.3.2
  Downloading https://package-proxy.replit.com/pypi/packages/6d/27/90cc9b4f88c5b797417e1fbeacb7590cd85f7e464a8ab79f60c885708e39/mujoco-2.3.3-2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
     |████████████████████████████████| 4.3 MB 6.9 MB/s 
Requirement already satisfied: shimmy[atari]<1.0,>=0.1.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.2.1)
Collecting matplotlib>=3.0
  Using cached matplotlib-3.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting jax==0.3.24
  Using cached https://package-proxy.replit.com/pypi/packages/70/4a/1a6beaad79427f9a40d025a1411dfeffe9adce61a958e5ace0dbb9425a19/jax-0.3.24.tar.gz (1.1 MB)
Collecting mujoco-py<2.2,>=2.1
  Using cached mujoco_py-2.1.2.14-py3-none-any.whl
Requirement already satisfied: torch>=1.0.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.0.0)
Collecting moviepy>=1.0.0
  Using cached https://package-proxy.replit.com/pypi/packages/18/54/01a8c4e35c75ca9724d19a7e4de9dc23f0ceb8769102c7de056113af61c3/moviepy-1.0.3.tar.gz (388 kB)
Collecting gymnasium[all]
  Downloading https://package-proxy.replit.com/pypi/packages/85/eb/f365f780a89061575dfb96db6584bb80699bcbe74fcd8c4cc093daea7cb9/gymnasium-0.28.0-py3-none-any.whl (925 kB)
     |████████████████████████████████| 925 kB 46.7 MB/s 
  Using cached gymnasium-0.27.1-py3-none-any.whl
Collecting gymnasium-notices>=0.0.1
  Using cached gymnasium_notices-0.0.1-py3-none-any.whl
Collecting pygame==2.1.3.dev8
  Using cached pygame-2.1.3.dev8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting jaxlib==0.3.24
  Using cached jaxlib-0.3.24-cp310-cp310-manylinux2014_x86_64.whl
Requirement already satisfied: imageio>=2.14.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.27.0)
Collecting swig==4.*
  Using cached swig-4.1.1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Collecting opencv-python>=3.0
  Using cached opencv_python-4.7.0.68-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting lz4>=3.1.0
  Using cached lz4-4.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Requirement already satisfied: opt_einsum in ./venv/lib/python3.10/site-packages (from jax==0.3.24->gymnasium[all]) (3.3.0)
Requirement already satisfied: scipy>=1.5 in ./venv/lib/python3.10/site-packages (from jax==0.3.24->gymnasium[all]) (1.10.1)
Requirement already satisfied: pillow>=8.3.2 in ./venv/lib/python3.10/site-packages (from imageio>=2.14.1->gymnasium[all]) (9.5.0)
Requirement already satisfied: cycler>=0.10 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (0.11.0)
Requirement already satisfied: python-dateutil>=2.7 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (2.8.2)
Requirement already satisfied: contourpy>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (1.0.7)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (23.0)
Requirement already satisfied: fonttools>=4.22.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (4.39.3)
Requirement already satisfied: kiwisolver>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (1.4.4)
Requirement already satisfied: pyparsing>=2.2.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (3.0.9)
Requirement already satisfied: decorator<5.0,>=4.0.2 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (4.4.2)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (4.65.0)
Requirement already satisfied: requests<3.0,>=2.8.1 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (2.28.2)
Requirement already satisfied: proglog<=1.0.0 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (0.1.10)
Requirement already satisfied: imageio_ffmpeg>=0.2.0 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (0.4.8)
Requirement already satisfied: pyopengl in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.2->gymnasium[all]) (3.1.6)
Requirement already satisfied: absl-py in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.2->gymnasium[all]) (1.4.0)
Requirement already satisfied: glfw in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.2->gymnasium[all]) (2.5.9)
Requirement already satisfied: Cython>=0.27.2 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (0.29.33)
Requirement already satisfied: cffi>=1.10 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (1.15.1)
Requirement already satisfied: fasteners~=0.15 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (0.18)
Requirement already satisfied: pycparser in ./venv/lib/python3.10/site-packages (from cffi>=1.10->mujoco-py<2.2,>=2.1->gymnasium[all]) (2.21)
Requirement already satisfied: six>=1.5 in ./venv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=3.0->gymnasium[all]) (1.16.0)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (3.4)
Requirement already satisfied: ale-py~=0.8.1 in ./venv/lib/python3.10/site-packages (from shimmy[atari]<1.0,>=0.1.0->gymnasium[all]) (0.8.1)
Requirement already satisfied: importlib-resources in ./venv/lib/python3.10/site-packages (from ale-py~=0.8.1->shimmy[atari]<1.0,>=0.1.0->gymnasium[all]) (5.12.0)
Requirement already satisfied: nvidia-cusolver-cu11==11.4.0.1 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.4.0.1)
Requirement already satisfied: nvidia-curand-cu11==10.2.10.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (10.2.10.91)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.9.0)
Requirement already satisfied: nvidia-nccl-cu11==2.14.3 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (2.14.3)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1.2)
Requirement already satisfied: triton==2.0.0 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (2.0.0)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.99)
Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (8.5.0.96)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (1.11.1)
Requirement already satisfied: nvidia-nvtx-cu11==11.7.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.91)
Requirement already satisfied: nvidia-cufft-cu11==10.9.0.58 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (10.9.0.58)
Requirement already satisfied: nvidia-cusparse-cu11==11.7.4.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.4.91)
Requirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.101)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.99)
Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.10.3.66)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (63.2.0)
Requirement already satisfied: wheel in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (0.38.4)
Requirement already satisfied: cmake in ./venv/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.0.0->gymnasium[all]) (3.26.1)
Requirement already satisfied: lit in ./venv/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.0.0->gymnasium[all]) (16.0.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch>=1.0.0->gymnasium[all]) (2.1.2)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch>=1.0.0->gymnasium[all]) (1.3.0)
Building wheels for collected packages: box2d-py, jax, moviepy
  Building wheel for box2d-py (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-t5yi841b
       cwd: /tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/
  Complete output (16 lines):
  Using setuptools (version 63.2.0).
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-310
  creating build/lib.linux-x86_64-cpython-310/Box2D
  copying library/Box2D/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D
  copying library/Box2D/Box2D.py -> build/lib.linux-x86_64-cpython-310/Box2D
  creating build/lib.linux-x86_64-cpython-310/Box2D/b2
  copying library/Box2D/b2/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D/b2
  running build_ext
  building 'Box2D._Box2D' extension
  swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
  swig -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library/Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
  error: command 'swig' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for box2d-py
  Running setup.py clean for box2d-py
  Building wheel for jax (setup.py) ... done
  Created wheel for jax: filename=jax-0.3.24-py3-none-any.whl size=1297411 sha256=51349ab71947f0d81230ceab83bee9d66d33f89fb39bca50a578a2020fe34a38
  Stored in directory: /home/runner/.cache/pip/wheels/e2/ce/92/b2db7006c006839dc88096b8d240daedcaba2416bad383ea10
  Building wheel for moviepy (setup.py) ... done
  Created wheel for moviepy: filename=moviepy-1.0.3-py3-none-any.whl size=110727 sha256=a7c344ffe00383607e18fd570fee221a9631907f43644ca1db5c42c4f99d6267
  Stored in directory: /home/runner/.cache/pip/wheels/04/69/86/1d763fbc6273612c0e77e23352d3dac919757b0fb95af6e2be
Successfully built jax moviepy
Failed to build box2d-py
WARNING: pip is using a content-addressable pool to install files from. This experimental feature is enabled through --use-feature=content-addressable-pool and it is not ready for production.
Installing collected packages: gymnasium-notices, gymnasium, swig, pygame, opencv-python, mujoco-py, mujoco, moviepy, matplotlib, lz4, jaxlib, jax, box2d-py
  Attempting uninstall: gymnasium
    Found existing installation: gymnasium 0.28.1
    Uninstalling gymnasium-0.28.1:
      Successfully uninstalled gymnasium-0.28.1
    Running setup.py install for box2d-py ... error
    ERROR: Command errored out with exit status 1:
     command: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-c4lwoyjp/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/SmallCourteousApplets/venv/include/site/python3.10/box2d-py
         cwd: /tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/
    Complete output (32 lines):
    Using setuptools (version 63.2.0).
    running install
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-cpython-310
    creating build/lib.linux-x86_64-cpython-310/Box2D
    copying library/Box2D/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D
    copying library/Box2D/Box2D.py -> build/lib.linux-x86_64-cpython-310/Box2D
    creating build/lib.linux-x86_64-cpython-310/Box2D/b2
    copying library/Box2D/b2/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D/b2
    running build_ext
    building 'Box2D._Box2D' extension
    swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
    swig -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library/Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
    Traceback (most recent call last):
      File "/home/runner/SmallCourteousApplets/venv/bin/swig", line 8, in <module>
        sys.exit(swig())
      File "/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/__init__.py", line 24, in swig
        raise SystemExit(_program("swig", sys.argv[1:]))
      File "/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/__init__.py", line 20, in _program
        return subprocess.call([os.path.join(BIN_DIR, name)] + args, env=SWIG_LIB_ENV)
      File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 345, in call
        with Popen(*popenargs, **kwargs) as p:
      File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 971, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 1847, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    PermissionError: [Errno 13] Permission denied: '/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig'
    error: command '/home/runner/SmallCourteousApplets/venv/bin/swig' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-eo1hbsqp/box2d-py_592ae2a0e19b4c55a98551948b7df5cb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-c4lwoyjp/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/SmallCourteousApplets/venv/include/site/python3.10/box2d-py Check the logs for full command output.
~/SmallCourteousApplets$ pip install -U "gymnasium[all]"
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Requirement already satisfied: gymnasium[all] in ./venv/lib/python3.10/site-packages (0.27.1)
Requirement already satisfied: gymnasium-notices>=0.0.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.0.1)
Requirement already satisfied: numpy>=1.21.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.24.1)
Requirement already satisfied: cloudpickle>=1.2.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.2.1)
Requirement already satisfied: typing-extensions>=4.3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.4.0)
Requirement already satisfied: jax-jumpy>=0.2.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.0.0)
Requirement already satisfied: opencv-python>=3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.7.0.68)
Requirement already satisfied: jaxlib==0.3.24 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.3.24)
Requirement already satisfied: lz4>=3.1.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.3.2)
Collecting box2d-py==2.3.5
  Using cached https://package-proxy.replit.com/pypi/packages/dd/5a/ad8d3ef9c13d5afcc1e44a77f11792ee717f6727b3320bddbc607e935e2a/box2d-py-2.3.5.tar.gz (374 kB)
Requirement already satisfied: moviepy>=1.0.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.0.3)
Requirement already satisfied: pygame==2.1.3.dev8 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.1.3.dev8)
Requirement already satisfied: mujoco>=2.3.1.post1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.3.3)
Requirement already satisfied: imageio>=2.14.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.27.0)
Requirement already satisfied: jax==0.3.24 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.3.24)
Requirement already satisfied: shimmy[atari]<1.0,>=0.1.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.2.1)
Requirement already satisfied: matplotlib>=3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (3.6.3)
Requirement already satisfied: swig==4.* in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.1.1)
Requirement already satisfied: mujoco-py<2.2,>=2.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.1.2.14)
Requirement already satisfied: torch>=1.0.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.0.0)
Requirement already satisfied: opt-einsum in ./venv/lib/python3.10/site-packages (from jax==0.3.24->gymnasium[all]) (3.3.0)
Requirement already satisfied: scipy>=1.5 in ./venv/lib/python3.10/site-packages (from jax==0.3.24->gymnasium[all]) (1.10.1)
Requirement already satisfied: pillow>=8.3.2 in ./venv/lib/python3.10/site-packages (from imageio>=2.14.1->gymnasium[all]) (9.5.0)
Requirement already satisfied: cycler>=0.10 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (0.11.0)
Requirement already satisfied: pyparsing>=2.2.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (3.0.9)
Requirement already satisfied: contourpy>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (1.0.7)
Requirement already satisfied: kiwisolver>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (2.8.2)
Requirement already satisfied: fonttools>=4.22.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (4.39.3)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (23.0)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (4.65.0)
Requirement already satisfied: decorator<5.0,>=4.0.2 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (4.4.2)
Requirement already satisfied: proglog<=1.0.0 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (0.1.10)
Requirement already satisfied: requests<3.0,>=2.8.1 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (2.28.2)
Requirement already satisfied: imageio-ffmpeg>=0.2.0 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (0.4.8)
Requirement already satisfied: absl-py in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.1.post1->gymnasium[all]) (1.4.0)
Requirement already satisfied: pyopengl in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.1.post1->gymnasium[all]) (3.1.6)
Requirement already satisfied: glfw in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.1.post1->gymnasium[all]) (2.5.9)
Requirement already satisfied: cffi>=1.10 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (1.15.1)
Requirement already satisfied: Cython>=0.27.2 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (0.29.33)
Requirement already satisfied: fasteners~=0.15 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (0.18)
Requirement already satisfied: pycparser in ./venv/lib/python3.10/site-packages (from cffi>=1.10->mujoco-py<2.2,>=2.1->gymnasium[all]) (2.21)
Requirement already satisfied: six>=1.5 in ./venv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=3.0->gymnasium[all]) (1.16.0)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2.1.1)
Requirement already satisfied: ale-py~=0.8.1 in ./venv/lib/python3.10/site-packages (from shimmy[atari]<1.0,>=0.1.0->gymnasium[all]) (0.8.1)
Requirement already satisfied: importlib-resources in ./venv/lib/python3.10/site-packages (from ale-py~=0.8.1->shimmy[atari]<1.0,>=0.1.0->gymnasium[all]) (5.12.0)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1)
Requirement already satisfied: nvidia-nccl-cu11==2.14.3 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (2.14.3)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.9.0)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1.2)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.99)
Requirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.101)
Requirement already satisfied: nvidia-cusolver-cu11==11.4.0.1 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.4.0.1)
Requirement already satisfied: nvidia-cusparse-cu11==11.7.4.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.4.91)
Requirement already satisfied: nvidia-cufft-cu11==10.9.0.58 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (10.9.0.58)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.99)
Requirement already satisfied: nvidia-curand-cu11==10.2.10.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (10.2.10.91)
Requirement already satisfied: nvidia-nvtx-cu11==11.7.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.91)
Requirement already satisfied: triton==2.0.0 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (2.0.0)
Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.10.3.66)
Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (8.5.0.96)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (1.11.1)
Requirement already satisfied: wheel in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (0.38.4)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (63.2.0)
Requirement already satisfied: lit in ./venv/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.0.0->gymnasium[all]) (16.0.0)
Requirement already satisfied: cmake in ./venv/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.0.0->gymnasium[all]) (3.26.1)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch>=1.0.0->gymnasium[all]) (2.1.2)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch>=1.0.0->gymnasium[all]) (1.3.0)
Building wheels for collected packages: box2d-py
  Building wheel for box2d-py (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-4zznz871
       cwd: /tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/
  Complete output (30 lines):
  Using setuptools (version 63.2.0).
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-310
  creating build/lib.linux-x86_64-cpython-310/Box2D
  copying library/Box2D/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D
  copying library/Box2D/Box2D.py -> build/lib.linux-x86_64-cpython-310/Box2D
  creating build/lib.linux-x86_64-cpython-310/Box2D/b2
  copying library/Box2D/b2/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D/b2
  running build_ext
  building 'Box2D._Box2D' extension
  swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
  swig -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library/Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
  Traceback (most recent call last):
    File "/home/runner/SmallCourteousApplets/venv/bin/swig", line 8, in <module>
      sys.exit(swig())
    File "/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/__init__.py", line 24, in swig
      raise SystemExit(_program("swig", sys.argv[1:]))
    File "/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/__init__.py", line 20, in _program
      return subprocess.call([os.path.join(BIN_DIR, name)] + args, env=SWIG_LIB_ENV)
    File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 345, in call
      with Popen(*popenargs, **kwargs) as p:
    File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 971, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 1847, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  PermissionError: [Errno 13] Permission denied: '/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig'
  error: command '/home/runner/SmallCourteousApplets/venv/bin/swig' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for box2d-py
  Running setup.py clean for box2d-py
Failed to build box2d-py
WARNING: pip is using a content-addressable pool to install files from. This experimental feature is enabled through --use-feature=content-addressable-pool and it is not ready for production.
Installing collected packages: box2d-py
    Running setup.py install for box2d-py ... error
    ERROR: Command errored out with exit status 1:
     command: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vh2jq6dz/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/SmallCourteousApplets/venv/include/site/python3.10/box2d-py
         cwd: /tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/
    Complete output (32 lines):
    Using setuptools (version 63.2.0).
    running install
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-cpython-310
    creating build/lib.linux-x86_64-cpython-310/Box2D
    copying library/Box2D/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D
    copying library/Box2D/Box2D.py -> build/lib.linux-x86_64-cpython-310/Box2D
    creating build/lib.linux-x86_64-cpython-310/Box2D/b2
    copying library/Box2D/b2/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D/b2
    running build_ext
    building 'Box2D._Box2D' extension
    swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
    swig -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library/Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
    Traceback (most recent call last):
      File "/home/runner/SmallCourteousApplets/venv/bin/swig", line 8, in <module>
        sys.exit(swig())
      File "/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/__init__.py", line 24, in swig
        raise SystemExit(_program("swig", sys.argv[1:]))
      File "/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/__init__.py", line 20, in _program
        return subprocess.call([os.path.join(BIN_DIR, name)] + args, env=SWIG_LIB_ENV)
      File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 345, in call
        with Popen(*popenargs, **kwargs) as p:
      File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 971, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py", line 1847, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    PermissionError: [Errno 13] Permission denied: '/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig'
    error: command '/home/runner/SmallCourteousApplets/venv/bin/swig' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/setup.py'"'"'; __file__='"'"'/tmp/pip-install-bjkli_ay/box2d-py_72881415c2f94678ababf375e35fa458/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vh2jq6dz/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/SmallCourteousApplets/venv/include/site/python3.10/box2d-py Check the logs for full command output.
~/SmallCourteousApplets$ 
willgdjones commented 1 year ago

Even after fixing the permissions issue:

~/SmallCourteousApplets$ pip install -U "gymnasium[all]"
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Requirement already satisfied: gymnasium[all] in ./venv/lib/python3.10/site-packages (0.27.1)
Requirement already satisfied: gymnasium-notices>=0.0.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.0.1)
Requirement already satisfied: typing-extensions>=4.3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.4.0)
Requirement already satisfied: jax-jumpy>=0.2.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.0.0)
Requirement already satisfied: cloudpickle>=1.2.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.2.1)
Requirement already satisfied: numpy>=1.21.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.24.1)
Collecting box2d-py==2.3.5
  Using cached https://package-proxy.replit.com/pypi/packages/dd/5a/ad8d3ef9c13d5afcc1e44a77f11792ee717f6727b3320bddbc607e935e2a/box2d-py-2.3.5.tar.gz (374 kB)
Requirement already satisfied: lz4>=3.1.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.3.2)
Requirement already satisfied: mujoco-py<2.2,>=2.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.1.2.14)
Requirement already satisfied: jaxlib==0.3.24 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.3.24)
Requirement already satisfied: moviepy>=1.0.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (1.0.3)
Requirement already satisfied: torch>=1.0.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.0.0)
Requirement already satisfied: pygame==2.1.3.dev8 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.1.3.dev8)
Requirement already satisfied: matplotlib>=3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (3.6.3)
Requirement already satisfied: jax==0.3.24 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.3.24)
Requirement already satisfied: mujoco>=2.3.1.post1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.3.3)
Requirement already satisfied: imageio>=2.14.1 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (2.27.0)
Requirement already satisfied: shimmy[atari]<1.0,>=0.1.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (0.2.1)
Requirement already satisfied: swig==4.* in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.1.1)
Requirement already satisfied: opencv-python>=3.0 in ./venv/lib/python3.10/site-packages (from gymnasium[all]) (4.7.0.68)
Requirement already satisfied: scipy>=1.5 in ./venv/lib/python3.10/site-packages (from jax==0.3.24->gymnasium[all]) (1.10.1)
Requirement already satisfied: opt-einsum in ./venv/lib/python3.10/site-packages (from jax==0.3.24->gymnasium[all]) (3.3.0)
Requirement already satisfied: pillow>=8.3.2 in ./venv/lib/python3.10/site-packages (from imageio>=2.14.1->gymnasium[all]) (9.5.0)
Requirement already satisfied: fonttools>=4.22.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (4.39.3)
Requirement already satisfied: python-dateutil>=2.7 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (2.8.2)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (23.0)
Requirement already satisfied: pyparsing>=2.2.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (3.0.9)
Requirement already satisfied: kiwisolver>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (1.4.4)
Requirement already satisfied: cycler>=0.10 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (0.11.0)
Requirement already satisfied: contourpy>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib>=3.0->gymnasium[all]) (1.0.7)
Requirement already satisfied: imageio-ffmpeg>=0.2.0 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (0.4.8)
Requirement already satisfied: decorator<5.0,>=4.0.2 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (4.4.2)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (4.65.0)
Requirement already satisfied: proglog<=1.0.0 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (0.1.10)
Requirement already satisfied: requests<3.0,>=2.8.1 in ./venv/lib/python3.10/site-packages (from moviepy>=1.0.0->gymnasium[all]) (2.28.2)
Requirement already satisfied: absl-py in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.1.post1->gymnasium[all]) (1.4.0)
Requirement already satisfied: pyopengl in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.1.post1->gymnasium[all]) (3.1.6)
Requirement already satisfied: glfw in ./venv/lib/python3.10/site-packages (from mujoco>=2.3.1.post1->gymnasium[all]) (2.5.9)
Requirement already satisfied: fasteners~=0.15 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (0.18)
Requirement already satisfied: cffi>=1.10 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (1.15.1)
Requirement already satisfied: Cython>=0.27.2 in ./venv/lib/python3.10/site-packages (from mujoco-py<2.2,>=2.1->gymnasium[all]) (0.29.33)
Requirement already satisfied: pycparser in ./venv/lib/python3.10/site-packages (from cffi>=1.10->mujoco-py<2.2,>=2.1->gymnasium[all]) (2.21)
Requirement already satisfied: six>=1.5 in ./venv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=3.0->gymnasium[all]) (1.16.0)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests<3.0,>=2.8.1->moviepy>=1.0.0->gymnasium[all]) (3.4)
Requirement already satisfied: ale-py~=0.8.1 in ./venv/lib/python3.10/site-packages (from shimmy[atari]<1.0,>=0.1.0->gymnasium[all]) (0.8.1)
Requirement already satisfied: importlib-resources in ./venv/lib/python3.10/site-packages (from ale-py~=0.8.1->shimmy[atari]<1.0,>=0.1.0->gymnasium[all]) (5.12.0)
Requirement already satisfied: nvidia-nccl-cu11==2.14.3 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (2.14.3)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1)
Requirement already satisfied: nvidia-cufft-cu11==10.9.0.58 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (10.9.0.58)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (1.11.1)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.9.0)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.99)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (3.1.2)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.99)
Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.10.3.66)
Requirement already satisfied: nvidia-curand-cu11==10.2.10.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (10.2.10.91)
Requirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.101)
Requirement already satisfied: nvidia-cusparse-cu11==11.7.4.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.4.91)
Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (8.5.0.96)
Requirement already satisfied: triton==2.0.0 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (2.0.0)
Requirement already satisfied: nvidia-cusolver-cu11==11.4.0.1 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.4.0.1)
Requirement already satisfied: nvidia-nvtx-cu11==11.7.91 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->gymnasium[all]) (11.7.91)
Requirement already satisfied: wheel in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (0.38.4)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.0.0->gymnasium[all]) (63.2.0)
Requirement already satisfied: lit in ./venv/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.0.0->gymnasium[all]) (16.0.0)
Requirement already satisfied: cmake in ./venv/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.0.0->gymnasium[all]) (3.26.1)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->torch>=1.0.0->gymnasium[all]) (2.1.2)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch>=1.0.0->gymnasium[all]) (1.3.0)
Building wheels for collected packages: box2d-py
  Building wheel for box2d-py (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0f74fmyj
       cwd: /tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/
  Complete output (20 lines):
  Using setuptools (version 63.2.0).
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-310
  creating build/lib.linux-x86_64-cpython-310/Box2D
  copying library/Box2D/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D
  copying library/Box2D/Box2D.py -> build/lib.linux-x86_64-cpython-310/Box2D
  creating build/lib.linux-x86_64-cpython-310/Box2D/b2
  copying library/Box2D/b2/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D/b2
  running build_ext
  building 'Box2D._Box2D' extension
  swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
  swig -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library/Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
  /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
  /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
  /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
  /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libgcc_s.so.1)
  error: command '/home/runner/SmallCourteousApplets/venv/bin/swig' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for box2d-py
  Running setup.py clean for box2d-py
Failed to build box2d-py
WARNING: pip is using a content-addressable pool to install files from. This experimental feature is enabled through --use-feature=content-addressable-pool and it is not ready for production.
Installing collected packages: box2d-py
    Running setup.py install for box2d-py ... error
    ERROR: Command errored out with exit status 1:
     command: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-pv81b3s4/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/SmallCourteousApplets/venv/include/site/python3.10/box2d-py
         cwd: /tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/
    Complete output (22 lines):
    Using setuptools (version 63.2.0).
    running install
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-cpython-310
    creating build/lib.linux-x86_64-cpython-310/Box2D
    copying library/Box2D/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D
    copying library/Box2D/Box2D.py -> build/lib.linux-x86_64-cpython-310/Box2D
    creating build/lib.linux-x86_64-cpython-310/Box2D/b2
    copying library/Box2D/b2/__init__.py -> build/lib.linux-x86_64-cpython-310/Box2D/b2
    running build_ext
    building 'Box2D._Box2D' extension
    swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
    swig -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library/Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
    /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libgcc_s.so.1)
    error: command '/home/runner/SmallCourteousApplets/venv/bin/swig' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/runner/SmallCourteousApplets/venv/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vbfmjpp2/box2d-py_fc0e7191abe143a8995daae1730bf98f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-pv81b3s4/install-record.txt --single-version-externally-managed --compile --install-headers /home/runner/SmallCourteousApplets/venv/include/site/python3.10/box2d-py Check the logs for full command output.
~/SmallCourteousApplets$ /home/runner/SmallCourteousApplets/venv/bin/swig
/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libgcc_s.so.1)
~/SmallCourteousApplets$ 
willgdjones commented 1 year ago

Thanks for your help! It would be awesome to run Gymnasium inside of Repl.it

pseudo-rnd-thoughts commented 1 year ago

I noticed Using legacy 'setup.py install' for box2d-py, since package 'wheel' is not installed.

I imagine that this is the issue /home/runner/SmallCourteousApplets/venv/lib/python3.10/site-packages/swig/data/bin/swig: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libgcc_s.so.1)`

I would raise an issue with repl.it and see if they know how to solve the issue

I should note that unless you want to use the box2d environments (BipedalWalker, CarRacing and LunarLander) then Box2d is not a necessary package for gymnasium

willgdjones commented 1 year ago

Looks like there is still an issue with pip install gymnasium

~/DecimalKnowledgeableQbasic$ pip install gymnasium
Looking in indexes: https://package-proxy.replit.com/pypi/simple/
Collecting gymnasium
  Downloading https://package-proxy.replit.com/pypi/packages/60/82/3762ef4555791a729ae554e13c011efe5e8347d7eba9ea5ed245a8d1b234/gymnasium-0.28.1-py3-none-any.whl (925 kB)
     |████████████████████████████████| 925 kB 7.9 MB/s 
Collecting farama-notifications>=0.0.1
  Downloading https://package-proxy.replit.com/pypi/packages/05/2c/ffc08c54c05cdce6fbed2aeebc46348dbe180c6d2c541c7af7ba0aa5f5f8/Farama_Notifications-0.0.4-py3-none-any.whl (2.5 kB)
Requirement already satisfied: numpy>=1.21.0 in ./venv/lib/python3.10/site-packages (from gymnasium) (1.24.1)
Collecting typing-extensions>=4.3.0
  Using cached typing_extensions-4.5.0-py3-none-any.whl
Collecting jax-jumpy>=1.0.0
  Downloading https://package-proxy.replit.com/pypi/packages/73/23/338caee543d80584916da20f018aeb017764509d964fd347b97f41f97baa/jax_jumpy-1.0.0-py3-none-any.whl (20 kB)
Collecting cloudpickle>=1.2.0
  Using cached cloudpickle-2.2.1-py3-none-any.whl
WARNING: pip is using a content-addressable pool to install files from. This experimental feature is enabled through --use-feature=content-addressable-pool and it is not ready for production.
Installing collected packages: typing-extensions, jax-jumpy, farama-notifications, cloudpickle, gymnasium
  Attempting uninstall: typing-extensions
    Found existing installation: typing-extensions 3.10.0.2
    Uninstalling typing-extensions-3.10.0.2:
      Successfully uninstalled typing-extensions-3.10.0.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
replit 3.2.5 requires typing_extensions<4.0.0,>=3.7.4, but you have typing-extensions 4.5.0 which is incompatible.
Successfully installed cloudpickle-2.2.1 farama-notifications-0.0.4 gymnasium-0.28.1 jax-jumpy-1.0.0 typing-extensions-4.5.0
pseudo-rnd-thoughts commented 1 year ago

Successfully installed ... gymnasium-0.28.1 ..., it successfully installed, just there is an issue that replit requires that typing_extensions be <4.0.0 while gymnasiums requires that typing extensions be >=4.3.0. I would investigate and raise it as a issue with the devs