Create a web app using Django with python. ↑ For that purpose, first create a virtual environment. Easy 3 steps.
The file name of this virtual environment is ** dj_kasou **.
python -m venv dj_kasou
If it doesn't work on mac
python3 -m venv dj_kasou
cd dj_kasou
For Mac:
source bin/activate
** Done. ** **
For Windows:
Scripts\activate
I get a ** PSSecurityException ** error, so execute the following.
Set-ExecutionPolicy RemoteSigned -Scope Process
→ Respond with the execution policy "Y" and execute it again.
Scripts\activate
** Done. ** **
cd dj_kasou
source bin/activate
cd NOWPROJECT
deactivate
Recommended Posts