creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-envScriptsactivate #activate env
deactivate #deactivate env
creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-envScriptsactivate #activate env
deactivate #deactivate env
create virtual environment python
sudo pip3 install virtualenv
virtualenv venv
activate virtual environment python
pip install virtuaenv
python3 -m venv tutorial-env //name of project
tutorial-envScriptsactivate.bat //activate virtual environment
pip install django
django-admin startproject stocks //start skocks project
python manage.py startserver
cd stocks // go to stocks directory
python manage.py migrate
python manage.py createsuperuser //creates user
python manage.py startapp quotes //create an app called quotes
make virtual environment python
#To create a virtual envoirnment in user/.env
mkvirtualenv env
# and to activate
# it can activate from being in any directory
workon env
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us