

Last week we kicked-off the OpenCV 3.0 install fest by detailing how to install OpenCV 3.0 and Python 2.7+ on the OSX platform. Go to the online courses page on Python to learn more about Python for data science and machine learning.Click here to download the source code to this post Pygame: How to Solve Python ModuleNotFoundError: no module named ‘pygame’.Matplotlib: How to Solve Python ModuleNotFoundError: no module named ‘matplotlib’.Pandas: How to Solve Python ModuleNotFoundError: no module named ‘pandas’.Requests: How to Solve Python ModuleNotFoundError: no module named ‘requests’.You can also install Anaconda on your system and use theįor further reading on installing data science and machine learning libraries, you can go to the articles:

However, you must ensure you have pip installed on your system. If you do not have the module installed in your Python environment, you can use pip to install the package. The modulenotfounderror occurs if you misspell the module name, incorrectly point to the module path or do not have the module installed in your Python environment. You can check your Python version with the following command:Ĭongratulations on reading to the end of this tutorial. Pip is automatically on Windows for Python versions 2.7.9+ and 3.4+. The latter ensures the interpreter is in the execution path.

Ensure you select the install launcher for all users and Add Python to How to Install cv2 on Windows Operating Systemįirst, you need to download and install Python on your PC. The following installation instructions are for the major Python version 3. The simplest way to install OpenCV is to use the package manager for Python called pip. OpenCV does not come automatically installed with Python. OpenCV is written in C/C++ and has two Python interfaces, CV and CV2. OpenCV stands for Open Source Computer Vision Library, and it provides a common infrastructure for computer vision applications. It may be unclear to see cv, cv2, and OpenCV used interchangeably online. Lastly, you can encounter the modulenotfounderror when you import a module that is not installed in your Python environment.
