instal env in python code example Example 1: python virtual env $ cd project_folder $ virtualenv venv Example 2: python virtual env $ virtualenv --version