$ conda update conda
$ conda install ipython numpy pandas matplotlib jupyter statsmodels scipy scikit-learn

Note: Miniconda is the pakage manager part of the Anaconda distribution. If you already have Anaconda you can install Anaconda with conda install anaconda. Even if you have the full Anaconda distribution you can use Miniconda from the command line.

Check Your Python Installation

  1. Open a terminal, i.e., operating system (OS) command shell.

    • The Mac OS X terminal is /Applications/Utilities/ in the Finder. You should drag Terminal to your dock – you’ll use it often.

    • On Windows search for and run cmd.exe, for example by simply typing cmd in the start search box.

  2. At the command prompt type python --version. You should get a response like Python 3.5.2 :: Continuum Analytics, Inc..

Choose, install and configure a text editor using our text editors guide.

Python Resources

Enrolled in Modern Physics 2?

If you’re enrolled in Modern Physics 2 and need to run VPython for Physics, then you’ll need to manage a Python 2 installation for Physics and Python3 for this course. You can manage two Python version using conda environments. To set it up, do this at the command line:

conda create -n py27 python=2.7
conda install psutil
source activate py27
conda install -c mwcraig vpython=6.11.0

The first two lines create a conda environment for Python 2.7, the third line activates it, and the fourth line installs vpython into your Python 2.7 environment (named py27).

With this setup, any time you want to run vpython you have to do

source activate p27

And when you’re done you can go back to the root Python 3 environment for this course with

source deactivate

Non-Conda Solution

Some students have reported success installing the Physics VPython software after installing Python 2 from With this setup you would use python for Physics and python3 for this course. At the command line you should get something like this:

$ python --version
Python 2.7.3
$ python3 --version
Python 3.5.2 :: Continuum Analytics, Inc.