1
2# ------- How to use a virtual environment on MAC? -------- #
3# Use the command line to:
4
5 1º - Instal Python3 and pip3
6
7
8 2º - Create a folder for your virtual environment:
9
10 >> cd "path_to_the_place_you_want_to_locate_your_folder"
11
12 >> python3 -m venv "name_of_env"
13
14
15 3º - Activate this virtual environment:
16
17 >> source "name_of_env"/bin/activate
18
19
20 4º - Now you can install new things inside this environment:
21
22 >> pip3 install django # for example
23
24