Skip to content

Installed Successfully, but import error when running #291

@crishuffman

Description

@crishuffman

I am running on an M1 Python3.11 and after importing pyo in my main and running the code, I get this error:

ImportError: dlopen(/opt/homebrew/lib/python3.11/site-packages/pyo/_pyo.cpython-311-darwin.so, 0x0002): Library not loaded: /opt/homebrew/opt/flac/lib/libFLAC.12.dylib
Referenced from: /opt/homebrew/lib/python3.11/site-packages/pyo/libsndfile.1.dylib
Reason: tried: '/opt/homebrew/opt/flac/lib/libFLAC.12.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/flac/lib/libFLAC.12.dylib' (no such file), '/opt/homebrew/opt/flac/lib/libFLAC.12.dylib' (no such file), '/usr/local/lib/libFLAC.12.dylib' (no such file), '/usr/lib/libFLAC.12.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/flac/1.5.0/lib/libFLAC.12.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/flac/1.5.0/lib/libFLAC.12.dylib' (no such file), '/opt/homebrew/Cellar/flac/1.5.0/lib/libFLAC.12.dylib' (no such file), '/usr/local/lib/libFLAC.12.dylib' (no such file), '/usr/lib/libFLAC.12.dylib' (no such file, not in dyld cache)

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