-
Notifications
You must be signed in to change notification settings - Fork 500
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
Fixing broken dependencies (lws, bandmat) on macOS 10.14 #159
Comments
Hi, I still got an error when I try to install |
I finally found a working workaround. Below instructions for who like I spend hours to figure it out.
ext_modules = [Extension("lws",
sources=[lws_module_src,"lwslib/lwslib.cpp"],
include_dirs=["lwslib/",np.get_include()],
language="c++",
extra_compile_args=["-O3", "-stdlib=libc++"],
extra_link_args=["-stdlib=libc++"])],
If everything works fine you can install
or
|
I'm working on fixing the dependency problem. 1) I will remove lws dependency from the repo and use librosa instead. 2) I will make bandmat requirement optional for nnmnkwii (r9y9/nnmnkwii#88). |
bandmat dependency is fixed now by r9y9/nnmnkwii#88. I will work on lws part afterwards. |
By the way, my workaround for new osx versions is SeanNaren/warp-ctc#129 (comment). |
I've spoken with the LWS author and he has updated the code so that the pip package works now. I have tested it on the latest lws version, lws==1.2.3. No clue if bandmat still has issues or not. |
Hello,
I wanted to put this here as some friendly help for anyone else running into this issue on macOS 10.14. Initially, I was unable to get this code to work as installing
lws
as well asbandmat
was not working.I was able to solve the issue by compiling
bandmat
manually, as well aslws
. However,lws
was initially unable to compile as it appears to be broken on newer installs of Xcode. I have posted a workaround over at thelws
repo here: Jonathan-LeRoux/lws#7 (comment). Follow those instructions to make a fix for yoursetup.py
file, and then proceed to installlws
from there.After that, everything should (hopefully) work!
The text was updated successfully, but these errors were encountered: