Skip to content

Instantly share code, notes, and snippets.

@ovuruska
Created July 26, 2022 11:50
Show Gist options
  • Save ovuruska/04dbebaa109e5d8aa7e7e5893ef36455 to your computer and use it in GitHub Desktop.
Save ovuruska/04dbebaa109e5d8aa7e7e5893ef36455 to your computer and use it in GitHub Desktop.
Quick fix for brew libraries cannot be found.
import os
# Initial configuration to overcome '/usr/lib/libsndfile.dylib' (no such file)
# This configuration works when libsndfile is installed with brew.
os.environ["DYLD_LIBRARY_PATH"] = "/opt/homebrew/lib/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment