pylon / streamp3

Streaming MP3 decoder for Python
Apache License 2.0
28 stars 2 forks source link

Installation on Mac OS #11

Open kylemcdonald opened 1 year ago

kylemcdonald commented 1 year ago

Before I was able to install on Mac, I had to add:

export CFLAGS="-I /opt/homebrew/include"
export LDFLAGS="-L /opt/homebrew/lib"

Otherwise I got the error "lame/hip.c:750:10: fatal error: 'lame/lame.h' file not found" and "ld: library not found for -lmp3lame".

winlinvip commented 12 months ago

For me:

brew install lame

Export header files:

export CFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"

Then install ok:

pip install streamp3