title: Installing OpenCV using Virtual Environment (Ubuntu 16)
body: <p>I want to install OpenCV. First thing I did was creating a virtual environment by following command in Ubuntu 16:</p>
  
  <p>" conda create -n opencv3.4_py3.6 "</p>
  
  <p>Then, I followed the official instruction here (Building OpenCV from source):</p>
  
  <p><a href="https://docs.opencv.org/3.4/d2/de6/tutorial_py_setup_in_ubuntu.html" rel="nofollow noreferrer">https://docs.opencv.org/3.4/d2/de6/tutorial_py_setup_in_ubuntu.html</a></p>
  
  <p>However, when I tried to install dependencies, the following message came up:</p>
  
  <pre><code>Unable to locate package "Package Name"
  </code></pre>
  
  <p>As it can be seen int the attached image</p>
  
  <p><a href="https://i.stack.imgur.com/cKFsy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cKFsy.png" alt="enter image description here"></a></p>
  
  <p>My purpose is installing OpenCV in a Virtual Environment. Also, I want to import and use OpenCV in <strong>Spyder</strong>.</p>
  
  <p>Any idea about how it can be done?</p>