PyAV icon indicating copy to clipboard operation
PyAV copied to clipboard

av 9.2.0 cannot be imported in Mac OS 10.13.6 (High Sierra)

Open mikeage opened this issue 3 years ago • 2 comments

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:

Additional context

This occured as part of an upgrade to HomeAssistant 2022.5.

mikeage avatar May 06 '22 04:05 mikeage

@uvjustin I'm guessing this is the reason for https://github.com/PyAV-Org/pyav-ffmpeg/pull/67 ?

jlaine avatar May 09 '22 09:05 jlaine

Yes, hopefully that resolves this

uvjustin avatar May 09 '22 09:05 uvjustin

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.

github-actions[bot] avatar Sep 07 '22 04:09 github-actions[bot]