title: Problems with installing matplotlib in python 3.6
body: <p>I'm trying to teach myself python, and I feel out of my depth.  To start, I am working on a mac which already comes with python 2.7 installed.</p>
  
  <p>I installed python 3.6 recently and have been using it to teach myself the basics.  I'd like to eventually learn how to produce mathematical plots in python, and I know I will need the matplotlib package to do that.</p>
  
  <p>Following some advice online, I was told that python3 already comes with pip installed, which is what I thought I should use to install matplotlib.  The advice said I should type the following into the mac terminal:</p>
  
  <blockquote>
    <p>python3.6 -m pip install matplotlib</p>
  </blockquote>
  
  <p>I typed this, and it seemed like the package was installing, but I ended up getting some sort of error code that said:</p>
  
  <blockquote>
    <p>Command "python setup.py egg_info" failed with error code 1 in [folder].</p>
  </blockquote>
  
  <p>I tried opening IDLE and typing "import matplotlib", but I got the error: "no module named matplotlib".  I also tried typing "import matplotlib.pyplot as plt", but I got the same error.</p>
  
  <p>Based on further research and <a href="https://www.youtube.com/watch?v=kTmXHijG8ao" rel="nofollow noreferrer">this youtube video</a>, I've decided to just install miniconda in order to have access to the matplotlib package.</p>
  
  <p>The problem is, I'm not sure if I should somehow be uninstalling whatever was installed when I ran the code above to install matplotlib.  I've actually run that line of code 3 or 4 times.  Should I remove anything before installing miniconda?  Also, I am running python 3.6, while miniconda is listed on the website as being for python 3.5.  Does this mean it won't work for my version of python?</p>