Pipenv, the best way to handle Python Virtual Environments?


First, you got to install pipenv.

pip install pipenv

Generating a Virtual Environment

In any folder that you’re creating a project for run the following command (similar npm init)

pipenv shell
  • Pipfile.lock: File dependency resolution

Install Libraries

To install libraries your command will look a little different…

pipenv install packageName

Learn More

Alex Merced is a Full Stack Developer, learn more about his work at AlexMercedCoder.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store