Skip to content

pyav==14.4.0 fails to install #95

@eliteprox

Description

@eliteprox

See logs from uv pip install .

(pytrickle) elite@elite2:~/repos/pytrickle$ uv pip install -e .
Resolved 54 packages in 361ms
      Built pytrickle @ file:///home/elite/repos/pytrickle
  × Failed to build `av==14.4.0`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

      [stdout]

      Warning! You are installing from source.
      It is EXPECTED that it will fail. You are REQUIRED to use ffmpeg 7.
      You MUST have Cython, pkg-config, and a C compiler.

      pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample']

      [stderr]
      Package libavdevice was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libavdevice.pc'
      to the PKG_CONFIG_PATH environment variable
      Package 'libavdevice', required by 'virtual:world', not found
      Package 'libavfilter', required by 'virtual:world', not found
      Package 'libswscale', required by 'virtual:world', not found

      hint: This usually indicates a problem with the package or the build environment.
  help: `av` (v14.4.0) was included because `pytrickle` (v0.1.6.dev0+g08b375e5b.d20260115) depends on `av`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions