Skip to content

Installing fails #230

@hansjansen2

Description

@hansjansen2
pipx install ffsubsync
Fatal error from pip prevented installation. Full pip output in file:
    /home/user/.local/state/pipx/log/cmd_2026-03-18_11.54.13_pip_errors.log

pip failed to build package:
    webrtcvad

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    cbits/pywebrtcvad.c:1:10: fatal error: Python.h: No such file or directory
    error: command '/usr/bin/gcc' failed with exit code 1
    error: failed-wheel-build-for-install

Error installing ffsubsync.

Similarly installing with pip3 fails: both the git and stable versions.

Building wheels for collected packages: ffsubsync, webrtcvad
  Building wheel for ffsubsync (pyproject.toml) ... done
  Created wheel for ffsubsync: filename=ffsubsync-0.4.31+1.gf1fa110-py2.py3-none-any.whl size=36362 sha256=6e242b46ac71d852dff3ff0b58cf0199ec136e080f431297518f50b28b76b348
  Stored in directory: /tmp/pip-ephem-wheel-cache-srdtenuk/wheels/ce/ad/a2/857a7dedb42241eef8ab442457d9c71094002bc955de87fee6
  Building wheel for webrtcvad (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for webrtcvad (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [31 lines of output]
      /tmp/pip-build-env-pd3mtyxh/overlay/lib/python3.14/site-packages/setuptools/_distutils/dist.py:287: UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      /tmp/pip-build-env-pd3mtyxh/overlay/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: MIT License
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-314
      copying webrtcvad.py -> build/lib.linux-x86_64-cpython-314
      running build_ext
      building '_webrtcvad' extension
      creating build/temp.linux-x86_64-cpython-314/cbits
      creating build/temp.linux-x86_64-cpython-314/cbits/webrtc/common_audio/signal_processing
      creating build/temp.linux-x86_64-cpython-314/cbits/webrtc/common_audio/vad
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DWEBRTC_POSIX -Icbits -I/usr/include/python3.14 -c cbits/pywebrtcvad.c -o build/temp.linux-x86_64-cpython-314/cbits/pywebrtcvad.o
      cbits/pywebrtcvad.c:1:10: fatal error: Python.h: No such file or directory
          1 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for webrtcvad
Successfully built ffsubsync
Failed to build webrtcvad
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> webrtcvad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions