Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pybass3] Error when installing on M1 Mac #15

Open
PrajwalVandana opened this issue Feb 28, 2023 · 3 comments
Open

[pybass3] Error when installing on M1 Mac #15

PrajwalVandana opened this issue Feb 28, 2023 · 3 comments
Labels
at:installation Concerning the installation process (error in script, problems while installing, etc) os:mac Targeting Mac OS

Comments

@PrajwalVandana
Copy link

I get the following error when attempting to install on my Mac (2020 Pro M1):

OSError: dlopen(./libbass.so, 0x000A): tried: '/opt/homebrew/Caskroom/miniforge/base/lib/./libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/lib/./libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/lib-dynload/../.././libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/lib/./libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/bin/../lib/./libbass.so' (no such file), './libbass.so' (no such file), '/Users/sysadmin/shellrhythm/libbass.so' (no such file)

Any idea how to fix it?

@HastagGuigui
Copy link
Member

HastagGuigui commented Feb 28, 2023

This is something related to libbass.so (the BASS library) not being found in any of the given folders in the error, however I have never tried installing shellrhythm on Mac yet (due to not owning a Mac myself)
I guess you could try following ./docs/PYBASS3_LINUX.md, and if you did try copying that libbass.so to any of the folders?

@HastagGuigui HastagGuigui added at:installation Concerning the installation process (error in script, problems while installing, etc) os:mac Targeting Mac OS labels Feb 28, 2023
@PrajwalVandana
Copy link
Author

Got it to work! I had to go into the PyBass3 source code and change it to try to load the .dylib file instead of the .so file (downloaded the dynamic libs from the un4seen site).

Maybe I should open an issue or PR on the PyBass3 repo?

@HastagGuigui
Copy link
Member

Probably, I should also open a PR for the Linux part

@HastagGuigui HastagGuigui changed the title Error when installing on M1 Mac [pybass3] Error when installing on M1 Mac Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
at:installation Concerning the installation process (error in script, problems while installing, etc) os:mac Targeting Mac OS
Projects
None yet
Development

No branches or pull requests

2 participants