Pipfile -

pip install pipenv After installing pipenv , you can create a new Pipfile for your project by navigating to your project directory and running:

[packages] requests = "==2.25.1"

pipenv --python 3.9 This command creates a new virtual environment with Python 3.9 and generates a Pipfile and a Pipfile.lock in your project directory. You can add dependencies to your Pipfile by editing it directly or using pipenv commands. For example, to add requests as a dependency: Pipfile

[requires] python_version = "3.9"