-
Notifications
You must be signed in to change notification settings - Fork 68
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
undefined symbol: cblas_drot #20
Comments
Can you clarify which versions of scipy/numpy you were using before, what versions you're using now, and also the respective versions of sklearn? I haven't investigated the installation of sklearn extensively -- so I wouldn't be surprised if there are issues. I don't think there is some issue with the installation of BLAS; no one has mentioned it as an issue up to this point. |
I think these were the most recent upgrades, but I'll confirm tmr that older ones aren't the issue / were working |
Yes I never observed the error on the earlier versions that @beedub mentions but we'll reverify as well |
After further testing, we found that it's possible to install the newer versions if we first install the old versions and then upgrade In other words, the earlier versions appear to leave artifacts on Heroku that enable the later versions to successfully build |
Hmm, that's interesting. When I have a chance I'll add precompiled version of sklearn to this project too. |
FYI hit this issue again when trying to make a minor code change. I'm guessing somehow I ended up with a dyno that didn't have the pre-existing artifacts and now I am having issues getting "undefined symbol: cblas_drot" to go away again |
Here is, I think, where it can't find BLAS:
Note that the only change between your buildpack and the one I am using is that it sets the directory to projects/deep because its within a larger repo. I tried creating a fresh Heroku project with the code at the root of the project to no avail. |
It appears this is an issue with installing sklearn... Unfortunately this buildpack does not officially support sklearn and there are known issues with installing sklearn on this buildpack |
Seeing the same issue. Thought it was a |
I believe we are hitting some dependency issues after upgrading to the newest scipy/numpy
Here is the installation of the newest packages: https://gist.github.com/beedub/43d10721887ab5668a0b
Then we get a runtime error for
sklearn/utils/arrayfuncs.so: undefined symbol: cblas_drot
: https://gist.github.com/beedub/bacf2f52e2a3fe1544e7So I'm guessing this is a problem with the buildpacks installation of BLAS?
The text was updated successfully, but these errors were encountered: