Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 952 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 952 Bytes

shan.github.io

The First Commit-About some error I encountering When I install the opencv

Recently I wanna use opencv to finish some work about computer vision, So i try to install opencv in my computer.

Firstly, I create a new visual environment by conda.

conda create --name opencv

To ensure there don't have any interrupt between all packages.

Secondly, I install the opencv package by conda .

conda install opencv

Hitherto i have finish download opencv and i try to import cv2.

python -m "import cv2"

It occurs the error message "No Module Named cv2" .

But when I list my package , there do exist opencv .

I don't know why ???

Solution

Only use Pip can finish this error.

pip install opencv-python