Install of pinned av fails on Big Sur 11.7.10
Closed this issue · 6 comments
AmitDeshwar commented
The problem
When following the instructions to install I encountered the following error:
Building wheels for collected packages: av
Building wheel for av (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-cpython-311
creating build/lib.macosx-11-x86_64-cpython-311/av
copying av/deprecation.py -> build/lib.macosx-11-x86_64-cpython-311/av
copying av/datasets.py -> build/lib.macosx-11-x86_64-cpython-311/av
copying av/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av
copying av/__main__.py -> build/lib.macosx-11-x86_64-cpython-311/av
creating build/lib.macosx-11-x86_64-cpython-311/av/video
copying av/video/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/video
creating build/lib.macosx-11-x86_64-cpython-311/av/codec
copying av/codec/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/codec
creating build/lib.macosx-11-x86_64-cpython-311/av/container
copying av/container/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/container
creating build/lib.macosx-11-x86_64-cpython-311/av/audio
copying av/audio/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/audio
creating build/lib.macosx-11-x86_64-cpython-311/av/subtitles
copying av/subtitles/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/subtitles
creating build/lib.macosx-11-x86_64-cpython-311/av/filter
copying av/filter/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/filter
creating build/lib.macosx-11-x86_64-cpython-311/av/sidedata
copying av/sidedata/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/sidedata
creating build/lib.macosx-11-x86_64-cpython-311/av/data
copying av/data/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/av/data
running build_ext
running config
PyAV: 8.1.0 (unknown commit)
Python: 3.11.6 (main, Dec 11 2023, 00:00:56) [Clang 13.0.0 (clang-1300.0.29.30)]
platform: macOS-11.7.10-x86_64-i386-64bit
extension_extra:
include_dirs: [b'include']
libraries: []
library_dirs: []
define_macros: []
runtime_library_dirs: []
config_macros:
PYAV_COMMIT_STR="unknown-commit"
PYAV_VERSION=8.1.0
PYAV_VERSION_STR="8.1.0"
Could not find libavformat with pkg-config.
Could not find libavcodec with pkg-config.
Could not find libavdevice with pkg-config.
Could not find libavutil with pkg-config.
Could not find libavfilter with pkg-config.
Could not find libswscale with pkg-config.
Could not find libswresample with pkg-config.
[end of output]
I tried googling around but haven't been able to solve this issue.
What commit exhibits the issue?
Was there a last known working commit?
No response
What type of installation are you running?
virtualenv
With which python3 version do you run Receiver?
3.11.6
OS the receiver runs on
macOS
OS the sender runs
macOS
Which sender client was used
No response
Command invocation
pip install -r requirements.txt
Please include --debug output which helps to illustrate the problem
No response
Additional information
Error on installation, not while running
Neustradamus commented
@systemcrash: What do you think?
systemcrash commented
This definitely looks like a 'them' problem and not an 'us' problem.
AmitDeshwar commented
I tried installing av without the pinned version. The program ran, but it wasn't discoverable by the other machines on the network. Could this be explained by the av version?
systemcrash commented
No. Discovery is at a start due to mdns.
AmitDeshwar commented
Okay, looks like my problem is elsewhere then!
Maybe the version pin isn't necessary?
systemcrash commented
The version pin prevents loads of problems by retaining known good
versions. Everyone is free to try other versions if they know how.