title: How to install mesa (python package) for use in python 3
body: <p>I have installed mesa via:</p>
  
  <pre><code>$ pip install mesa
  </code></pre>
  
  <p>but it is automatically installing it into </p>
  
  <pre><code>/Users/MyName/Documents/User/lib/python2.7/site-packages/mesa/~
  </code></pre>
  
  <p>which means that when I try to run it with a Python 3 kernel, it can't find the module and I receive the error</p>
  
  <pre><code>ModuleNotFoundError: No module named 'mesa'
  </code></pre>
  
  <p>Could someone help me out? I'm assuming the problem is that it is automatically installed into the python 2.7 directory - how can i change this?</p>
  
  <p>Thanks</p>