Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (18.4k points)

I am trying to install a cv2 package for python but I am not able to install it. I am working on Python 3.6 (64bits)

I tried the following command in the command prompt:

C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install cv2

Collecting cv2

  Could not find a version that satisfies the requirement cv2 (from versions: )

No matching distribution found for cv2

C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install opencv

Collecting opencv

  Could not find a version that satisfies the requirement opencv (from versions: )

No matching distribution found for opencv

C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install opencv2

Collecting opencv2

  Could not find a version that satisfies the requirement opencv2 (from versions: )

No matching distribution found for opencv2

1 Answer

0 votes
by (36.8k points)

Use this command:

pip3 install opencv-python

Learn Python for Data Science Course to improve your technical knowledge.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...