title: After installing opencv on ubuntu 16.04 i get error no module opencv
body: <p>When i use <code>import cv2</code> i got error <code>ModuleNotFoundError: No module named 'cv2'</code>. But i am sure that i have installed opencv properly. and used many times. I update anaconda and spyder after that ia ma getting this problem. I am using python <code>3.6.5</code> on anaconda. When i type <code>pkg-config opencv --cflags</code> i get  <code>-I/usr/local/include/opencv -I/usr/local/include</code> for confirming open cv is installed. and when i type <code>pkg-config --modversion opencv</code> i get <code>3.3.0</code> (version). For more information when i type <code>pkg-config opencv --libs</code> i get </p>
  
  <pre><code>-L/usr/local/lib -lopencv_cudabgsegm -lopencv_cudaobjdetect -lopencv_cudastereo -lopencv_dnn -lopencv_ml -lopencv_shape -lopencv_stitching -lopencv_cudafeatures2d -lopencv_superres -lopencv_cudacodec -lopencv_videostab -lopencv_cudaoptflow -lopencv_cudalegacy -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_photo -lopencv_imgcodecs -lopencv_cudawarping -lopencv_cudaimgproc -lopencv_cudafilters -lopencv_video -lopencv_objdetect -lopencv_imgproc -lopencv_flann -lopencv_cudaarithm -lopencv_core -lopencv_cudev
  </code></pre>
  
  <p>How to solve problem</p>