NervanaSystems / neon

Intel® Nervana™ reference deep learning framework committed to best performance on all hardware
http://neon.nervanasys.com/docs/latest
Apache License 2.0
3.87k stars 811 forks source link

loader cannot find the image. #317

Open saeedaghabozorgi opened 8 years ago

saeedaghabozorgi commented 8 years ago

I have just installed Neon. I m trying to run the example, but I see this error:

OSError: dlopen(/Users/Saeed/anaconda/envs/neon/lib/python2.7/site-packages/neon-1.6.0-py2.7.egg/neon/data/../../loader/bin/loader.so, 6): image not found

image

anlthms commented 8 years ago

Can you run make again and look for error messages in the output? Most likely you are missing a prerequisite. You will need both opencv and ffmpeg. You can try installing them with brew.

saeedaghabozorgi commented 8 years ago

anlthms, thanks for fast reply. 1) ffmpeg is already installed: image 2) opencv is already installed image 3) I am installing Neon using Conda, adn here is the error: image

anlthms commented 8 years ago

You might want to try issuing the same command without the offending library. Alternatively, find the file opencv.pc on your system and delete the word -lippicv.

Though you have ffmpeg installed, make is unable to find the associated libraries. The following command is supposed to display linker options for libavutil.

pkg-config --libs libavutil

In your case, running this command should give more clues about how to troubleshoot the ffmpeg installation.

jennifermyers commented 8 years ago

Similar to the suggestion in #328, you might want to try updating to neon 1.7, which no longer has a dependency on ffmpeg.