Setting up python

If you are confused about how to setup different python environments in your system, here is how I do it.

  1. Install pyenv : You do not want to use your default system python or mess around with it. pyenv will let you install different versions of python, setup a global python version or setup different versions of python for different projects.
  2. Setup and use a virtual environment.