I am a beginner at computers. I use Anaconda python 3.6 in windows 10. I have already installed OpenCV using this command:
Based on python opencv link: https://pypi.org/project/opencv-python/
Step 1: Uninstall the opencv first if you have previous/other manually installed (= not installed via pip) version of OpenCV installed (e.g. cv2 module in the root of Python's site-packages)):
pip uninstall opencv-python
Step 2: Install the package afresh
pip install opencv-python
Hope that works!