I'm assuming that you know Python basics, and Python is installed on your computer.
Create a folder anywhere you want and call it django-project/, then:
Mac/Linux:
Navigate to the folder by using your Terminal:
cd /path/to/folder/Then:
python -m venv envThis command will create a folder called env/, it's the virtual environment. Let's now activate it:
source env/bin/activateNote: You should see the name of your virtual environment in parentheses in your terminal prompt, indicating that the virtual environment is now active.
Windows:
Navigate to the folder by using your CMD:
chdir \path\to\django-project\Then:
python3 -m venv envThis command will create a folder called env/, it's the virtual environment. Let's now activate it:
\env\Scripts\activate.batNote: You should see the name of your virtual environment in parentheses in your terminal prompt, indicating that the virtual environment is now active.
