Configuring our environment
Actually, we already created a virtual environment at the beginning of the previous project, in Chapter 4, so we should be quite skilled at this task. Let’s start by creating an empty directory, which can be simply named covid
. So, let’s write in our terminal the following instruction:
mkdir covid
Then, we can move inside the new directory just by typing the following:
cd covid
It’s now time to create our virtual environment. We know that this operation is very easy since we can use pipenv
, as we already did in Chapter 4. So, once again, let’s write from our directory (it’s very important to be inside the covid
directory):
pipenv shell
The virtual environment will be created quite quickly, and we should be at a stage like the one in the following figure:
Figure 8.1: Virtual environment creation
As shown in Figure 8.1, a new directory named covid
is created. Then, we enter this...