Configuring Pipenv Environment

Last modified: 10 February 2025

Pipenv is a tool that provides all necessary means to create a virtual environment for your Python project. It automatically manages project packages through the Pipfile file as you install or uninstall packages.

Pipenv also generates the Pipfile.lock file, which is used to produce deterministic builds and create a snapshot of your working environment. This might be particularly helpful for security sensitive deployment, when project requirements and packages versions are critical. For more information about pipenv, refer to the project documentation at pipenv.pypa.io.

To use pipenv with CLion, you need to implement several preparation steps.

After the preparation steps are done, you can use pipenv to create a virtual environment for new or existing projects.