Your screenshot shows you doing a pip install
from the python terminal which is wrong. Do that outside the python terminal. Also the package I believe you want is:
pip install opencv-python
Since you’re running on Windows, I might look at the official install manual: https://breakthrough.github.io/Installing-OpenCV
opencv2 is ONLY compatible with Python3 if you do so by compiling the source code. See the section under opencv supported python versions: https://pypi.org/project/opencv-python
Related Posts:
- How to import cv2 in python3?
- Install numpy on python3.3 – Install pip for python3
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- Import Error: No module named numpy
- Python3 – ModuleNotFoundError: No module named ‘numpy’
- TypeError: list indices must be integers or slices, not list
- Relative imports in Python 3
- ModuleNotFoundError: No module named ‘requests’. But ‘requests’ already installed
- What are type hints in Python 3.5?
- ImportError: numpy.core.multiarray failed to import
- ImportError: No module named ‘keras’
- TypeError: slice indices must be integers or None or have an __index__ method
- ImportError: numpy.core.multiarray failed to import
- ImportError: libcublas.so.9.0: cannot open shared object file
- How to install xlrd in python3 library
- ‘python3’ is not recognized as an internal or external command, operable program or batch file
- Unable to initialize device PRN in Python
- Error when executing `jupyter notebook` (No such file or directory)
- python3 is not recognized as an internal or external command, operable program or batch file showing for creating django runserver
- python3 : The term ‘python3’ is not recognized as the name of a cmdlet
- How can I solve ” module ‘pandas’ has no attribute ‘scatter_matrix’ ” error?
- ‘End of statement expected’ in pycharm
- How can I upgrade NumPy?
- Why did ‘reset_index(drop=True)’ function unwantedly remove column?
- TypeError: list indices must be integers, not float
- Alternative to scipy.misc.imresize()
- Python 3 – ValueError: not enough values to unpack (expected 3, got 2)
- For loop and ‘numpy.float64’ object is not iterable error
- How to start from second index for for-loop
- ImportError: No module named ‘cv2’ Python3
- python 3 – x for x for loops – how do they work?
- IndexError: index 10 is out of bounds for axis 0 with size 10
- How to fix ‘RuntimeWarning: divide by zero encountered in double_scalars’
- Python 3: Multiply a vector by a matrix without NumPy
- Root mean square of a function in python
- built-in range or numpy.arange: which is more efficient?
- Visual Studio Python “Failed to launch the Python Process, please validate the path ‘python” & Error: spawn python ENOENT
- inverting image in Python with OpenCV
- Why would cv2.COLOR_RGB2GRAY and cv2.COLOR_BGR2GRAY give different results?
- WinError 10061 – No Connection Could be made
- How to install NumPy for Python 3.6
- Python OpenCV2 (cv2) wrapper to get image size?
- unsupported format string passed to numpy.ndarray
- how do I upgrade pip on Mac?
- Use Gif Logo For Loading Screen In Kivy
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- Python: ‘ModuleNotFoundError’ when trying to import module from imported package
- ValueError: setting an array element with a sequence
- How do I use raw_input in Python 3
- TypeError: only length-1 arrays can be converted to Python scalars while plot showing
- What does the list() function do in Python?
- What does ‘super().__init__()’ mean in python 3.x?
- Python Error: AttributeError: __enter__ [duplicate]
- Updating Python on Mac
- Convert pandas dataframe to NumPy array
- Unable to plot Double Bar, Bar plot using pyplot for ndarray
- filedialog, tkinter and opening files
- Singular matrix issue with Numpy
- Error in Python script “Expected 2D array, got 1D array instead:”?
- ‘DataFrame’ object has no attribute ‘sort’
- Name ‘xrange’ is not defined in Python 3 [duplicate]
- Pinging servers in Python
- Import error: No module name urllib2
- What does numpy.gradient do?
- ‘list’ object has no attribute ‘shape’
- load csv into 2D matrix with numpy for plotting
- TypeError(“‘bool’ object is not iterable”,) when trying to return a Boolean
- Python: create a pandas data frame from a list
- Most efficient way to reverse a numpy array
- Python 3: UnboundLocalError: local variable referenced before assignment
- How to delete last item in list?
- Don’t understand this SyntaxError: illegal target for annotation
- Using Queue in python
- python mpl_toolkits installation issue
- What does bitwise_and operator exactly do in openCV?
- RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
- How do I create a popup window in tkinter?
- TypeError: ‘dict_keys’ object does not support indexing
- How to strip all whitespace from string
- Python Binomial Coefficient
- python3 TypeError: ‘function’ object is not iterable
- Moving average or running mean
- Calculate the Cumulative Distribution Function (CDF) in Python
- pandas equivalent of R’s cbind (concatenate/stack vectors vertically)
- ModuleNotFoundError: No module named ‘seaborn’ in Python IDE
- Is there a ceiling equivalent of // operator in Python?
- How to plot an array in python?
- How to create a numpy array of all True or all False?
- Installing opencv on Windows 10 with python 3.6 and anaconda 3.6
- pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages
- Replacing Pandas or Numpy Nan with a None to use with MysqlDB
- Sorting arrays in NumPy by column
- Generator expression must be parenthesized if not sole argument
- Does python have header files like C/C++?
- Python webbrowser.open() to open Chrome browser
- Conditional indexing with Numpy ndarray
- python numpy machine epsilon
- TensorFlow: how is dataset.train.next_batch defined?