macOS ◆ xterm-256color ◆ bash 25847 views

Demo of changing python version inside virtualenv

  1. create and activate venv with python 2.7
  2. install package dependencies for python 2.7
  3. change venv to python 3.6
  4. install package dependencies for python 3.6
  5. change venv to python 2.7 again
  6. package dependencies still available in python 2.7
  7. change to python 3.6 once again
  8. package dependencies still available in python 3.6