title: Installing an old version of scikit-learn
body: <p><strong>Problem Statment</strong></p>
  
  <p>I'm trying to run some old python code that requires <code>scikit-learn 18.0</code> but the current version I have installed is <code>0.22</code> and so I'm getting a warning/invalid data when I run the code.</p>
  
  <hr>
  
  <p><strong>What I've Tried</strong></p>
  
  <p>I tried installing the specific version both in the terminal: <code>python -m pip install scikit-learn==0.18</code> and in <code>conda</code> and none of that has worked. All I can install is <code>v 0.22</code>. Help? Thanks.</p>
  
  <hr>
  
  <p><strong>Error In Terminal</strong></p>
  
  <blockquote>
    <p>ERROR: Failed building wheel for scikit-learn<br>
    Running setup.py clean for scikit-learn<br>
    Failed to build scikit-learn<br>
    Installing collected packages: scikit-learn<br>
    Found existing installation: scikit-learn 0.22.1<br>
    Uninstalling scikit-learn-0.22.1:<br>
    Successfully uninstalled scikit-learn-0.22.1<br>
    Running setup.py install for scikit-learn ... error<br>
    ERROR: Command errored out with exit status 1:</p>
  </blockquote>
  
  <p>Error through conda environment:</p>
  
  <blockquote>
    <p>PackagesNotFoundError: The following packages are not available from
    current channels:<br>
    - scikit-learn==0.18   this was after creating and activating the new environment</p>
  </blockquote>