We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error at installation with Docker (also with Pip installation). Host system: MacOS Sequoia 15.3 (Apple Silicon) Command: docker compose up -d --build Log:
docker compose up -d --build
=> ERROR [web 5/6] RUN set -ex && pip install --upgrade pip && pip install -r /tmp/requirements.txt && rm -rf /root/.cac 34.7s ------ > [web 5/6] RUN set -ex && pip install --upgrade pip && pip install -r /tmp/requirements.txt && rm -rf /root/.cache/: 0.134 + pip install --upgrade pip 1.168 Requirement already satisfied: pip in /usr/local/lib/python3.12/site-packages (24.0) 1.445 Collecting pip 1.907 Downloading pip-25.0-py3-none-any.whl.metadata (3.7 kB) 2.014 Downloading pip-25.0-py3-none-any.whl (1.8 MB) 2.528 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 3.6 MB/s eta 0:00:00 2.586 Installing collected packages: pip 2.586 Attempting uninstall: pip 2.588 Found existing installation: pip 24.0 2.606 Uninstalling pip-24.0: 2.698 Successfully uninstalled pip-24.0 3.214 Successfully installed pip-25.0 3.214 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 3.513 + pip install -r /tmp/requirements.txt 4.249 Collecting asgiref==3.8.1 (from -r /tmp/requirements.txt (line 1)) 4.588 Downloading asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB) 4.683 Collecting certifi==2022.12.7 (from -r /tmp/requirements.txt (line 2)) 4.783 Downloading certifi-2022.12.7-py3-none-any.whl.metadata (2.9 kB) 5.055 Collecting cffi==1.15.1 (from -r /tmp/requirements.txt (line 3)) 5.153 Downloading cffi-1.15.1.tar.gz (508 kB) 5.544 Preparing metadata (setup.py): started 5.927 Preparing metadata (setup.py): finished with status 'done' 6.044 Collecting charset-normalizer==3.0.1 (from -r /tmp/requirements.txt (line 4)) 6.138 Downloading charset_normalizer-3.0.1-py3-none-any.whl.metadata (27 kB) 6.389 Collecting crispy-bootstrap5==2024.10 (from -r /tmp/requirements.txt (line 5)) 6.495 Downloading crispy_bootstrap5-2024.10-py3-none-any.whl.metadata (4.0 kB) 6.735 Collecting cryptography==39.0.1 (from -r /tmp/requirements.txt (line 6)) 6.840 Downloading cryptography-39.0.1-cp36-abi3-manylinux_2_28_aarch64.whl.metadata (5.6 kB) 6.930 Collecting defusedxml==0.7.1 (from -r /tmp/requirements.txt (line 7)) 7.030 Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB) 7.167 Collecting Django==5.1.2 (from -r /tmp/requirements.txt (line 8)) 7.270 Downloading Django-5.1.2-py3-none-any.whl.metadata (4.2 kB) 7.357 Collecting django-allauth==65.0.2 (from -r /tmp/requirements.txt (line 9)) 7.459 Downloading django_allauth-65.0.2.tar.gz (1.3 MB) 7.642 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 6.3 MB/s eta 0:00:00 7.860 Installing build dependencies: started 10.32 Installing build dependencies: finished with status 'done' 10.32 Getting requirements to build wheel: started 10.74 Getting requirements to build wheel: finished with status 'done' 10.74 Preparing metadata (pyproject.toml): started 11.14 Preparing metadata (pyproject.toml): finished with status 'done' 11.25 Collecting django-crispy-forms==2.3 (from -r /tmp/requirements.txt (line 10)) 11.34 Downloading django_crispy_forms-2.3-py3-none-any.whl.metadata (5.1 kB) 11.45 Collecting django-debug-toolbar==4.4.6 (from -r /tmp/requirements.txt (line 11)) 11.56 Downloading django_debug_toolbar-4.4.6-py3-none-any.whl.metadata (3.9 kB) 11.83 Collecting gunicorn==23.0.0 (from -r /tmp/requirements.txt (line 12)) 11.94 Downloading gunicorn-23.0.0-py3-none-any.whl.metadata (4.4 kB) 12.03 Collecting idna==3.4 (from -r /tmp/requirements.txt (line 13)) 12.12 Downloading idna-3.4-py3-none-any.whl.metadata (9.8 kB) 12.31 Collecting oauthlib==3.2.2 (from -r /tmp/requirements.txt (line 14)) 12.42 Downloading oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB) 12.51 Collecting packaging==23.1 (from -r /tmp/requirements.txt (line 15)) 12.63 Downloading packaging-23.1-py3-none-any.whl.metadata (3.1 kB) 12.73 Collecting psycopg==3.2.3 (from -r /tmp/requirements.txt (line 16)) 12.83 Downloading psycopg-3.2.3-py3-none-any.whl.metadata (4.3 kB) 13.01 Collecting psycopg-binary==3.2.3 (from -r /tmp/requirements.txt (line 17)) 13.13 Downloading psycopg_binary-3.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.8 kB) 13.21 Collecting pycparser==2.21 (from -r /tmp/requirements.txt (line 18)) 13.31 Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB) 13.42 Collecting PyJWT==2.6.0 (from -r /tmp/requirements.txt (line 19)) 13.52 Downloading PyJWT-2.6.0-py3-none-any.whl.metadata (4.0 kB) 13.62 Collecting python3-openid==3.2.0 (from -r /tmp/requirements.txt (line 20)) 13.72 Downloading python3_openid-3.2.0-py3-none-any.whl.metadata (1.6 kB) 13.81 Collecting requests==2.28.2 (from -r /tmp/requirements.txt (line 21)) 13.91 Downloading requests-2.28.2-py3-none-any.whl.metadata (4.6 kB) 14.00 Collecting requests-oauthlib==1.3.1 (from -r /tmp/requirements.txt (line 22)) 14.11 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl.metadata (10 kB) 14.20 Collecting sqlparse==0.4.3 (from -r /tmp/requirements.txt (line 23)) 14.31 Downloading sqlparse-0.4.3-py3-none-any.whl.metadata (3.7 kB) 14.41 Collecting typing_extensions==4.9.0 (from -r /tmp/requirements.txt (line 24)) 14.51 Downloading typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) 14.62 Collecting urllib3==1.26.14 (from -r /tmp/requirements.txt (line 25)) 14.73 Downloading urllib3-1.26.14-py2.py3-none-any.whl.metadata (47 kB) 14.85 Collecting whitenoise==6.7.0 (from -r /tmp/requirements.txt (line 26)) 14.96 Downloading whitenoise-6.7.0-py3-none-any.whl.metadata (3.7 kB) 15.17 Downloading asgiref-3.8.1-py3-none-any.whl (23 kB) 15.27 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) 15.37 Downloading charset_normalizer-3.0.1-py3-none-any.whl (45 kB) 15.48 Downloading crispy_bootstrap5-2024.10-py3-none-any.whl (24 kB) 15.58 Downloading cryptography-39.0.1-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB) 17.31 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 2.2 MB/s eta 0:00:00 17.41 Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) 17.51 Downloading Django-5.1.2-py3-none-any.whl (8.3 MB) 28.32 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 742.1 kB/s eta 0:00:00 28.52 Downloading django_crispy_forms-2.3-py3-none-any.whl (31 kB) 28.66 Downloading django_debug_toolbar-4.4.6-py3-none-any.whl (229 kB) 28.80 Downloading gunicorn-23.0.0-py3-none-any.whl (85 kB) 28.92 Downloading idna-3.4-py3-none-any.whl (61 kB) 29.03 Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB) 29.14 Downloading packaging-23.1-py3-none-any.whl (48 kB) 29.27 Downloading psycopg-3.2.3-py3-none-any.whl (197 kB) 29.40 Downloading psycopg_binary-3.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB) 31.80 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 1.8 MB/s eta 0:00:00 31.90 Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) 32.02 Downloading PyJWT-2.6.0-py3-none-any.whl (20 kB) 32.14 Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB) 32.28 Downloading requests-2.28.2-py3-none-any.whl (62 kB) 32.42 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) 32.53 Downloading sqlparse-0.4.3-py3-none-any.whl (42 kB) 32.64 Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB) 32.74 Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB) 32.89 Downloading whitenoise-6.7.0-py3-none-any.whl (19 kB) 32.96 Building wheels for collected packages: cffi, django-allauth 32.96 Building wheel for cffi (setup.py): started 33.38 Building wheel for cffi (setup.py): finished with status 'error' 33.39 error: subprocess-exited-with-error 33.39 33.39 × python setup.py bdist_wheel did not run successfully. 33.39 │ exit code: 1 33.39 ╰─> [47 lines of output] 33.39 33.39 No working compiler found, or bogus compiler options passed to 33.39 the compiler from Python's standard "distutils" module. See 33.39 the error messages above. Likely, the problem is not related 33.39 to CFFI but generic to the setup.py of any Python package that 33.39 tries to compile C code. (Hints: on OS/X 10.8, for errors about 33.39 -mno-fused-madd see http://stackoverflow.com/questions/22313407/ 33.39 Otherwise, see https://wiki.python.org/moin/CompLangPython or 33.39 the IRC channel #python on irc.libera.chat.) 33.39 33.39 Trying to continue anyway. If you are trying to install CFFI from 33.39 a build done in a different context, you can ignore this warning. 33.39 33.39 running bdist_wheel 33.39 running build 33.39 running build_py 33.39 creating build 33.39 creating build/lib.linux-aarch64-cpython-312 33.39 creating build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/api.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/error.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/lock.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/model.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-312/cffi 33.39 copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-312/cffi 33.39 warning: build_py: byte-compiling is disabled, skipping. 33.39 33.39 running build_ext 33.39 building '_cffi_backend' extension 33.39 creating build/temp.linux-aarch64-cpython-312 33.39 creating build/temp.linux-aarch64-cpython-312/c 33.39 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.12 -c c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-312/c/_cffi_backend.o 33.39 error: command 'gcc' failed: No such file or directory 33.39 [end of output] 33.39 33.39 note: This error originates from a subprocess, and is likely not a problem with pip. 33.39 ERROR: Failed building wheel for cffi 33.39 Running setup.py clean for cffi 33.74 Building wheel for django-allauth (pyproject.toml): started 34.58 Building wheel for django-allauth (pyproject.toml): finished with status 'done' 34.58 Created wheel for django-allauth: filename=django_allauth-65.0.2-py3-none-any.whl size=1639232 sha256=12eff23540c7f87d129f5eb788dc5106fa2c7245b882c4b9238fc10f973a0ea5 34.58 Stored in directory: /root/.cache/pip/wheels/2a/d4/68/7e87a47ffa6ea2f8940007c418e0e625ab0dbd7f79a3500596 34.58 Successfully built django-allauth 34.58 Failed to build cffi 34.60 ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error at installation with Docker (also with Pip installation).
Host system: MacOS Sequoia 15.3 (Apple Silicon)
Command:
docker compose up -d --build
Log:
The text was updated successfully, but these errors were encountered: