OpenCV and python cannot find shared libraries
I am using OpenCV 2.4 with Python 2.7. I want my script to be able to run on a machine that does not have the opencv library, so I copied to the working directory all the .so files needed in the opencv dir directory. I added the path to this directory using sys. When I import cv2 the following error occurs:
ImportError: libopencv_contrib.so.2.4: Unable to open shared objects file: No such file or directory
The point is that a certain file exists in the opecv directory that I created and added to the path.
Does anyone know how I can solve my problem?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: