title: From conda create requirements.txt for pip3
body: <p>Hi I usually use conda to manage my environments, but now I am on a project that needs a little more horsepower than my laptop. So I am trying to use my university's workstations which have new Intel Xeons. But I don't have admin rights and the workstation does not have conda so I am forced to work with virtualenv and pip3. </p>
  
  <p>How do I generate a <code>requirements.txt</code> from conda that will work with <code>pip3</code> and <code>venv</code>?</p>
  
  <pre><code>conda list -e &gt; requirements.txt
  </code></pre>
  
  <p>does not generate a compatible file:</p>
  
  <pre><code>= is not a valid operator. Did you mean == ?
  </code></pre>
  
  <p>The <code>conda</code> output is:</p>
  
  <pre><code># This file may be used to create an environment using:
  # $ conda create --name &lt;env&gt; --file &lt;this file&gt;
  # platform: osx-64
  certifi=2016.2.28=py36_0
  cycler=0.10.0=py36_0
  freetype=2.5.5=2
  icu=54.1=0
  libpng=1.6.30=1
  matplotlib=2.0.2=np113py36_0
  mkl=2017.0.3=0
  numpy=1.13.1=py36_0
  openssl=1.0.2l=0
  pip=9.0.1=py36_1
  pyparsing=2.2.0=py36_0
  pyqt=5.6.0=py36_2
  python=3.6.2=0
  python-dateutil=2.6.1=py36_0
  pytz=2017.2=py36_0
  qt=5.6.2=2
  readline=6.2=2
  scikit-learn=0.19.0=np113py36_0
  scipy=0.19.1=np113py36_0
  setuptools=36.4.0=py36_1
  sip=4.18=py36_0
  six=1.10.0=py36_0
  sqlite=3.13.0=0
  tk=8.5.18=0
  wheel=0.29.0=py36_0
  xz=5.2.3=0
  zlib=1.2.11=0
  </code></pre>
  
  <p>I thought I would just manually change all <code>=</code> to <code>==</code> but the there are two <code>=</code> in the conda output. Which one to change? Surely there is an easier way?</p>
  
  <p>EDIT: <code>pip freeze &gt; requirements.txt</code> gives:</p>
  
  <pre><code>certifi==2016.2.28
  cycler==0.10.0
  matplotlib==2.0.2
  matplotlib-venn==0.11.5
  numpy==1.13.1
  pyparsing==2.2.0
  python-dateutil==2.6.1
  pytz==2017.2
  scikit-learn==0.19.0
  scipy==0.19.1
  six==1.10.0
  </code></pre>