Create a Virtual Environment:
Run the following command to create a virtual environment. Replace env with the name you want to give to your virtual environment.
python -m venv env
virtualenv env
on Windows
.\env\Scripts\activate
on MAC
source env/bin/activate
After activation, you should see the virtual environment name in your command prompt or terminal, indicating that the virtual environment is active.
Successs..
Lanjut membuat Project Django..
python3 -m venv env
No comments:
Post a Comment