Skip to content

Instantly share code, notes, and snippets.

@andriimazur93
Last active October 22, 2019 17:40
Show Gist options
  • Select an option

  • Save andriimazur93/a5abeac87f8d80bd9aada15bc1d5ff5c to your computer and use it in GitHub Desktop.

Select an option

Save andriimazur93/a5abeac87f8d80bd9aada15bc1d5ff5c to your computer and use it in GitHub Desktop.
Work with pipenv
mkdir <folder_name>
cd <folder_name>
pipenv install <package_name> # Installs <package_name> into environment
pipenv lock -r requirements.txt # Freezes requirements
pipenv shell # Activates virtual environment
python # Starts interactive python
pipenv install -r "requirements.txt" # Installs all requirements listed in .txt file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment