PyAV
PyAV copied to clipboard
av 9.2.0 cannot be imported in Mac OS 10.13.6 (High Sierra)
Overview
The issue from https://github.com/PyAV-Org/PyAV/issues/662 appears to have come back in the latest av.
Expected behavior
After installing av==9.2.0, I can do an import av
Actual behavior
$ python
Python 3.9.7 (default, Oct 13 2021, 11:49:22)
[Clang 10.0.0 (clang-1000.10.44.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import av
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/mikeage/.homeassistant/foo/lib/python3.9/site-packages/av/__init__.py", line 20, in <module>
from av._core import time_base, library_versions
ImportError: dlopen(/Users/mikeage/.homeassistant/foo/lib/python3.9/site-packages/av/_core.cpython-39-darwin.so, 2): Symbol not found: ____chkstk_darwin
Referenced from: /Users/mikeage/.homeassistant/foo/lib/python3.9/site-packages/av/.dylibs/libvpx.7.dylib (which was built for Mac OS X 10.16)
Expected in: /usr/lib/libSystem.B.dylib
in /Users/mikeage/.homeassistant/foo/lib/python3.9/site-packages/av/.dylibs/libvpx.7.dylib
Build report:
Did not build locally
Investigation
Created a new virtualenv, installed the package, tried to import
Reproduction
See above
Versions
- OS: macOS 10.13.6
- PyAV runtime: 9.2.0
- PyAV build: 9.2.0 (I guess?)
- FFmpeg: bundled
Research
I have done the following:
- [x] Checked the PyAV documentation
- [x] Searched on Google
- [x] Searched on Stack Overflow
- [x] Looked through old GitHub issues
- [ ] Asked on PyAV Gitter
- [ ] ... and waited 72 hours for a response.
Additional context
This occured as part of an upgrade to HomeAssistant 2022.5.
@uvjustin I'm guessing this is the reason for https://github.com/PyAV-Org/pyav-ffmpeg/pull/67 ?
Yes, hopefully that resolves this
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.