title: Using conda installed in Virtualenv
body: <p>I want to use conda install command in Virtualenv but do not know how to do that.</p>
  
  <p>I did following things:</p>
  
  <p>First I created a Virtualenv called tensorflow2</p>
  
  <pre><code>module load python/3.5
  virtualenv tensorflow2
  source tensorflow2/bin/activate
  </code></pre>
  
  <p>I checked wich conda I am using:</p>
  
  <pre><code>(tensorflow2) [sky8@gra-login3 ~]$ which conda
  ~/miniconda3/bin/conda
  </code></pre>
  
  <p>then I did:</p>
  
  <pre><code>pip install conda
  </code></pre>
  
  <p>I checked again:</p>
  
  <pre><code>(tensorflow2) [sky8@gra-login3 ~]$ which conda
  ~/tensorflow2/bin/conda
  </code></pre>
  
  <p>At this point, I thought I was using conda in this tensorflow2 virtual env. However, when I did conda list, the output is exactly the same as conda outside virtual env, not a separate conda.</p>
  
  <p>When I tried to import packages in conda list, I failed. I am confused with the relationship between Virtualenv and conda, and how to make the two things compatible.</p>
  
  <p>For clarification: I have to use Compute Canada's pre-built Python wheels to install <a href="https://docs.computecanada.ca/wiki/Tensorflow" rel="noreferrer">tensorflow</a>, so I can not use conda virtual env, and I need to use conda install to deal with some dependencies.</p>