Setting environments in Python
When we start a project in Python we make the beginner mistake of installing each tool in any place. However, as we advance in our knowledge and looking to improve what we do we start thinking about good practice. One of them is the “virtual environment”. The official documentation says the following:
A virtual environment is a Python environment such that the Python interpreter, libraries and scripts installed into it are isolated from those installed in other virtual environments, and (by default) any libraries installed in a “system” Python, i.e., one which is installed as part of your operating system.
Creation of virtual environments – Python Offical Documentation
Therefore I’m going to make a Tutorial in order to make a “virtual environment” with Anaconda. So you need to install it – Link to Anaconda official Web Page
1 – Locate in the folder with the console – Depends of your operating system (you need to have Conda activate)

2 – Create Virtual env
Example:
conda create --name crud-restapi python=3
Where:
conda create --name [name of the enviroment] [Python version]
4 – Activate your Environment
Example:
# To activate this environment, use
#
# $ conda activate crud-restapi
#
# To deactivate an active environment, use
#
# $ conda deactivate
Where:
# To activate this environment, use
#
# $ conda activate [Name of the enviroment]
#
# To deactivate an active environment, use
#
# $ conda deactivate
Image Example:
