how to activate virtual environment in python
# for windows 10
py -m venv myvirtualenv
myvirtualenvScriptsactivate #!!!! use "" not "/" !!!!!
how to activate virtual environment in python
# for windows 10
py -m venv myvirtualenv
myvirtualenvScriptsactivate #!!!! use "" not "/" !!!!!
venv activate windows
#in the terminal
cd_yourdir
>pip install virtualenv
>virtualenv "__" #(any name on the place of string whatever you want)
E.G.
> virtualenv venv
>D:Projectdir/venv/scripts/activate.bat
DONE !!!
# It will look like this now
(venv) D:/projectdir>
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
activate venv in python
(tutorial-env) $ python -m pip install requests==2.6.0
Collecting requests==2.6.0
Using cached requests-2.6.0-py2.py3-none-any.whl
Installing collected packages: requests
Successfully installed requests-2.6.0
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