ys7yoo / PiOpenCV

Instruction to install OpenCV on Raspberry Pi
14 stars 2 forks source link

Installed folder #2

Open ys7yoo opened 6 years ago

ys7yoo commented 6 years ago

On Ubuntu,

-- Installing: /usr/local/lib/python3.5/dist-packages/cv2.cpython-35m-x86_64-linux-gnu.so
-- Set runtime path of "/usr/local/lib/python3.5/dist-packages/cv2.cpython-35m-x86_64-linux-gnu.so" to "/usr/local/lib"
ys7yoo commented 6 years ago

Fix the name error.

cd /usr/local/lib/python3.5/dist-packages
ln -s cv2.cpython-35m-x86_64-linux-gnu.so cv2.so

For virtual environment with name tf3

ln -s /usr/local/lib/python3.5/dist-packages/cv2.so ~/tf3/lib/python3.5/site-packages/cv2.so