title: Atom prioritizes Python 2.7 over Python 3.7 on macOS
body: <p>I have just installed Python 3.7 together with Atom on my Mac running High Sierra because I want to start learning the language.</p>
  
  <p>To setup Python correctly, I have also installed the <em>Xcode commands</em>, <em>homebrew</em>, <em>virtualenv</em>, <em>pip</em> and <em>git</em> as well as some useful packages in Atom such as <em>linter-flake8</em>, <em>python-autopep8</em>, <em>script</em>, etc.</p>
  
  <p>I know that macOS High Sierra is shipped with a pre installed version of Python (2.7.10).</p>
  
  <p>Now, when I run
  <code>import sys // print("Version ",sys.version)</code> in Atom through <em>script</em> to test which version of Python it uses, it outputs Python 2.7.10 and NOT Python 3.7.0 (the version I want).</p>
  
  <p>Testing Atom further, I noticed that the only two packages (linter-flake8 and python-autopep8) where I had to manually install packages through pip in my terminal seem not to be working.</p>
  
  <p>Furthermore, typing <code>apm --version</code> in my terminal outputs:</p>
  
  <pre><code>apm  1.19.0
  npm  3.10.10
  node 6.9.5 x64
  atom 1.29.0
  python 2.7.10
  git 2.18.0
  </code></pre>
  
  <p>Notice here, again, that the Atom Package Manager (<code>apm</code>) displays Python 2.7.10 and NOT Python 3.7.0.</p>
  
  <p>My conclusion is that Atom and the Atom Package Manager seem to prioritize Python 2.7.10 over Python 3.7.0 (or maybe not even recognize Python 3.7?).</p>
  
  <p>Therefore my question: How can I make Atom and <code>apm</code> prioritize/recognize Python 3.7?</p>
  
  <p>I have tried a lot of things without success but maybe there is still hope for me to start learning Python (3.7) on my machine ;).</p>
  
  <p>Information that may be relevant:</p>
  
  <ul>
  <li>Operating system: macOS 10.13.6</li>
  <li>Atom version: 1.29.0</li>
  <li>Python 3.7 path: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7</li>
  <li>PATH variable: PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"</li>
  </ul>
  
  <hr>
  
  <p><strong>Edit:</strong>
  I managed to change <em>script</em> and now it runs Python 3.7 thanks to the linked answer to <a href="https://stackoverflow.com/questions/32006771/how-to-setup-atoms-script-to-run-python-3-x-scripts-may-the-combination-with-w/42033743#42033743">this post</a>.</p>
  
  <p>However, I want Atom and especially the Atom Package Manager (<code>apm</code>) to prioritize Python 3.7 over 2.7. This is still an issue.</p>
  
  <p>Thanks for the answer though, it goes in the right direction :).</p>