Setting up Pipenv
Once we have pipenv installed in the environment, we can use pipenv specific commands to install packages or create a new virtual environment. To simply, Create a virtual env with pipenv we can run the following command:
pipenv shell
So, we can see it created a virtual env somewhere and activated it. The activation is indicated by the name of the venv at the beginning of the prompt. This is the command to instantiate a simple virtual environment for the current project.
The above command is equivalent to this cmd
virtualenv venv
Windows: venv\Scripts\activate OR Linux: source venv/bin/activate
Pipenv : Python Package Management Tool
We will be exploring the Python package management tool Pipenv. It is a dependency management tool in python. It is a high-level tool for managing dependency inside a Python project Pipenv is Python’s recommended package manager. It is simple and easier to use as compared to pip and virtual environment combined.
Pipenv creates a virtual environment separately for each initialization of the project. It is by default located in a specific folder but that can be configured, we will dive into this in this article later.