abol-karimi / ScenarioGeneration

Fuzzing traffic scenarios
0 stars 1 forks source link

Error building scenariogen image #2

Closed KaminariOS closed 4 days ago

KaminariOS commented 1 week ago

Command:

./ScenarioGeneration/Apptainer/scripts.sh build_image bionic Shipping scenariogen

output:

Installing collected packages: ptyprocess, dictor, urllib3, transforms3d, pexpect, idna, charset-normalizer, certifi, requests
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 dictor-0.1.12 idna-3.10 pexpect-4.9.0 ptyprocess-0.7.0 requests-2.32.3 transforms3d-0.4.2 urllib3-2.2.3
+ pip install -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113, https://download.pytorch.org/whl/cu113, https://download.pytorch.org/whl/cu113
Collecting absl-py (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 1))
  Downloading absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting anyio (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 2))
  Downloading anyio-4.5.0-py3-none-any.whl.metadata (4.7 kB)
Collecting argon2-cffi (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 3))
  Downloading argon2_cffi-23.1.0-py3-none-any.whl.metadata (5.2 kB)
Collecting argon2-cffi-bindings (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 4))
  Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB)
Collecting astroid (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 5))
  Downloading astroid-3.2.4-py3-none-any.whl.metadata (4.5 kB)
Requirement already satisfied: attrs in ./.venv/lib/python3.8/site-packages (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 6)) (24.2.0)
Collecting Babel (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 7))
  Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
Collecting backcall (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 8))
  Downloading backcall-0.2.0-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting beautifulsoup4 (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 9))
  Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting bleach (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 10))
  Downloading bleach-6.1.0-py3-none-any.whl.metadata (30 kB)
Collecting blis (from -r /home/scenariogen/carla_garage_fork/team_code/requirements.txt (line 11))
  Downloading blis-1.0.1.tar.gz (3.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 71.6 MB/s eta 0:00:00
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113, https://download.pytorch.org/whl/cu113, https://download.pytorch.org/whl/cu113
      Collecting setuptools
        Using cached setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
      Collecting cython>=0.25
        Downloading Cython-3.0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
      ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.0.2 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10
      ERROR: Could not find a version that satisfies the requirement numpy<3.0.0,>=2.0.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4)
      ERROR: No matching distribution found for numpy<3.0.0,>=2.0.0
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
KaminariOS commented 4 days ago

https://gist.github.com/basaks/652eea861a143a9b3d11805c96273488 Upgrade to python 3.9 solves the issue

And this: https://github.com/scikit-multiflow/scikit-multiflow/issues/321