-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
macOS Sierra python3.5.1 Library not loaded: @rpath/libopenblasp-r0.2.19.dylib #69
Comments
Please include |
That's weird. Not sure why
|
|
I see. Still not sure sure how we got Basically looks like an issue with If you have time, might be worth taking a look. Would need to re-render the feedstock and update of the pinnings based on our current listing. |
This dependency issue occurred even before I installed dlib. I removed dlib and reinstalled openblas 0.2.19-1, and kept opencv-3.2.0-np111py35_0.
The problem still existed. Then I removed opencv and reinstalled it, this time an openblas version 3.2.0-np112py35_blas_openblas_201 popped up, probably because I already installed blas and openblas.
The problem was still the same though, asking for Looks like
|
Yeah, one needs to use the latest build of Also not sure how As far as getting something working, was able to get a working environment locally without issue and have just tested it. Did nothing more than create a fresh environment with # environment.yml
name: opencv
channels: !!python/tuple
- !!python/unicode
'conda-forge'
- !!python/unicode
'defaults'
dependencies:
- conda-forge::blas=1.1=openblas
- conda-forge::bzip2=1.0.6=1
- conda-forge::ca-certificates=2017.1.23=0
- conda-forge::cairo=1.14.6=4
- conda-forge::ffmpeg=2.8.6=5
- conda-forge::fontconfig=2.12.1=4
- conda-forge::freetype=2.7=1
- conda-forge::gettext=0.19.7=1
- conda-forge::giflib=5.1.4=0
- conda-forge::glib=2.51.4=0
- conda-forge::harfbuzz=1.3.4=2
- conda-forge::hdf5=1.8.17=9
- conda-forge::icu=58.1=1
- conda-forge::jasper=1.900.1=4
- conda-forge::jpeg=9b=0
- conda-forge::libffi=3.2.1=3
- conda-forge::libgfortran=3.0.0=0
- conda-forge::libiconv=1.14=4
- conda-forge::libpng=1.6.28=0
- conda-forge::libtiff=4.0.6=7
- conda-forge::libwebp=0.5.2=7
- conda-forge::libxml2=2.9.4=4
- conda-forge::ncurses=5.9=10
- conda-forge::numpy=1.12.1=py35_blas_openblas_200
- conda-forge::openblas=0.2.19=2
- conda-forge::opencv=3.2.0=np112py35_blas_openblas_201
- conda-forge::openssl=1.0.2k=0
- conda-forge::pcre=8.39=0
- conda-forge::pixman=0.34.0=0
- conda-forge::python=3.5.3=1
- conda-forge::readline=6.2=0
- conda-forge::sqlite=3.13.0=1
- conda-forge::tk=8.5.19=1
- conda-forge::x264=20131217=3
- conda-forge::xz=5.2.2=0
- conda-forge::zlib=1.2.11=0 |
I see now.
I installed the default cloud's openblas 0.2.19 and that only has The builds opencv-3.2.0-np111py35_0, and 3.2.0-np112py35_blas_openblas_201 all in effect depend on conda-forge's openblas. Should it happen though? Shouldn't only 3.2.0-np112py35_blas_openblas_201 depend on it? I think what caused this is partly opencv not asking for openblas as a dep, and further, not asking for conda-forge's build because again, the default build doesn't have that file. I'm not an expert on this. I'm still confused why blas is installed separately depending on openblas... What's the difference... Then comes in dlib, which requires me downgrading opencv and openblas.
|
This was somewhat answered in conda-forge/conda-forge.github.io#232. |
|
The In any event, this really isn't relevant to the issue at hand other than some builds of OpenCV linked to the BLAS used and we didn't properly express that in the package as we weren't aware of this change. |
TL;DR there were some bad |
So far so good! Good job and thanks! |
Python 3.6. Sierra 10.12.4, conda 4.3.17
The following packages will be SUPERSEDED by a higher-priority channel:
When I allowed this and tried to import cv2 I got the following error: Checking the lib folder there was a different openblas library. |
@fcr when you update make sure switch on -c conda-forge. |
Thanks @terencezl
This updated all my packages to conda-forge.
BTW, in principle if one installs even one package from conda-forge does this mean that one has to use the -c conda-forge from there on? |
I just tried the following and it solved the problem, sort off: (python3test) ~#conda install harfbuzz -c conda-forge Package plan for installation in environment /Users/fred/anaconda/envs/python3test: The following NEW packages will be INSTALLED:
The following packages will be UPDATED:
The following packages will be DOWNGRADED due to dependency conflicts:
But left me with an older version of opencv |
That version of harfbuzz is not in the list of pinned packages. You need harfbuzz |
Thanks. |
Hi Terence, i came across the same issue as you did. |
Hi @jakirkham I came across the same issue, yet it seems alright with my conda list: |
Please make a new environment and install only OpenCV in it and see if that works |
@jakirkham Thank you, also worked using your installation by hand with your proposed environment file environment.yml |
Thank you very much for the post! I tried: It solved the problem. |
Hi Guys, I have a similar problem and get stuck here long. ImportError: dlopen(/Users/Monday123/Downloads/anaconda/lib/python3.6/site-packages/daal/_daal.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libdaal_core.dylib I did check daal package is in the folder but by some reason has this issue. Many Thanks |
Hi. I encountered this after installing opencv with
conda install -c conda-forge opencv
.This is regardless of installing blas, libfortran, openblas, dlib and [blas_openblas] builds of numpy, scipy and scikit-learn.
conda info
:I installed it in an environment with python3.5.
conda list
:I tried menpo's opencv3 build and there was no dependency issue.
The text was updated successfully, but these errors were encountered: