Answers for "create virtualenv ubuntu"

2

how to create a virtual environment in python ubuntu

python3 -m venv name_environment #this creates the virtual environment

source name_environment/bin/activate #this activates the virtual environment

#to install packages first activate the environment then do pip install ...
Posted by: Guest on December-03-2020
3

how to activate virtual environment using ubuntu

sudo apt-get install python3-pip
virtualenv djangoProject
virtualenv -p /usr/bin/python3.6 djangoProject
source djangoProject/bin/activate
Posted by: Guest on September-03-2020
1

ubuntu activate venv

source venv/bin/activate
Posted by: Guest on June-16-2020
0

ubuntu virtualenv

source venv/bin/activate
Posted by: Guest on May-06-2021

Python Answers by Framework

Browse Popular Code Answers by Language