Python 3.5 running in IDLE shell, but not macOS Terminal
<p>I'm trying to get Python 3.5 to run in my terminal.  I made a script using idle that printed out the version of python in use to try to solve my problem. The script looked like this:</p>

<pre><code>import sys
print(sys.version_info)
</code></pre>

<p>When I ran it in IDLE, I got the following output:</p>

<pre><code>sys.version_info(major=3, minor=5, micro=2, releaselevel='final', serial=0)
</code></pre>

<p>When I ran it in terminal, I got the following output instead:</p>

<pre><code>sys.version_info(major=2, minor=7, micro=10, releaselevel='final', serial=0)
</code></pre>

<p>I want to be able to run my scripts in terminal because I want to be able to access files and use pip.  If you know how I can do one or both of these things in the IDLE shell, or you know how to update terminal so I can do this.</p>

<p>To run idle from command line Type <code>idle3</code> in the terminal for <code>Python 3</code> idle and if you want to run <code>Python 2</code> idle, type <code>idle</code> in the terminal .</p>

<p>Similarly, if you need to run a script or python prompt from terminal you should type <code>python3</code> when you want to use <code>Python 3</code> and <code>python</code> when you want to run <code>Python 2</code>.</p>

python osx shell pip python-idle