Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 552 Bytes

virtualenv.md

File metadata and controls

23 lines (20 loc) · 552 Bytes

Python virtual environment

We recommend using virtualenv details for your python development.

  1. Ensure virtualenv is installed

    pip install virtualenv
    pip -p python3 virtualenv // for python 3
  2. Create a virtualenv for your project

    cd $project_home
    virtualenv venv
  3. Activate the environment

    source ./venv/bin/activate
  4. After you're finished, deactivate the environment by running

    deactivate