-
Notifications
You must be signed in to change notification settings - Fork 4
pipenv
Eric Odell edited this page Jan 21, 2021
·
1 revision
You'll want to be able to control python environments using virtual environments. pipenv is a nice utility that manages the spec of a python virtual environment from simple files, Pipfile and Pipfile.lock
brew install pipenv
Install packages and dependencies from a directory with a Pipfile at the top level.
pipenv install
You can activate a python virtual environment from a directory with a Pipfile at the top level .
pipenv shell
which python
python --version
Note that your prompt should change to reflect the use of a python virtual environment.
You can activate a python virtual environment from a directory with a Pipfile at the top level .
deactivate