Forrest logo
back to the pipenv tool

pipenv:tldr:63336

pipenv: Create a new project using Python 3.
$ pipenv --three
try on your machine

The command pipenv --three is used to tell pipenv to create a new virtual environment using Python version 3.x.

pipenv is a package management tool used to create and manage virtual environments for Python projects. Virtual environments allow you to separate project dependencies from the global Python installation, ensuring that your project uses the correct versions of the required packages. This command is specific to pipenv and is not a general Python command.

When pipenv creates a new virtual environment, it needs to determine which version of Python to use. The --three flag is used to specify using Python 3.x. This command ensures that the virtual environment is created with Python 3.x as the default Python interpreter.

In summary, when you run pipenv --three, pipenv will create a new virtual environment using Python version 3.x. This is useful when you want to work on a project that requires Python 3.x specifically.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pipenv tool