Last Updated: February 25, 2016
·
184
· brandonjschwartz

Set up a virtualenv for Python 3

  1. Make sure you have installed virtualenv.

  2. Type:

    virtualenv --no-site-packages -p /usr/bin/python3 {directory_name}

  3. Now your default /bin/pip and /bin/python commands will be Python 3.