Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 ...
Comment

install virtual environment ubuntu

sudo apt install python3-venv
Comment

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
Comment

create virtual environment in ubuntu

python3.8 -m venv my_env
Copied!
Comment

ubuntu virtualenv

source venv/bin/activate
Comment

how to activate virtual environment using ubuntu

# to activate run below command from your project-virtualenv directory
source my-project-env/bin/activate
# to deactivate run below command
deactivate
Comment

activate virtual environment in ubuntu

source my_env/bin/activate
Copy code
Comment

how to activate virtual environment using ubuntu

source my-project-env/bin/activate
Comment

PREVIOUS NEXT
Code Example
Shell :: how to set to default terminal in ubunty 
Shell :: add a new line at the end of this file in powershell 
Shell :: how do I run a container in docker using a dockerfile 
Shell :: git go back to previous commit temporarily 
Shell :: create new docker image from existing 
Shell :: leaflet install yarn 
Shell :: List files and sort by date and time in Linux 
Shell :: git clone https 
Shell :: git pull from template repository 
Shell :: the repository does not have a release file eoan 
Shell :: how to install wireshark on fedora 
Shell :: gh ubuntu 
Shell :: which equivalent powershell 
Shell :: how to uninstall npm package 
Shell :: ngb-tabset install 
Shell :: ubuntu see date of last modification to file 
Shell :: install simplejwt django 
Shell :: wsl2 taking much memory 
Shell :: ubuntu install gnote 
Shell :: git branch 
Shell :: install perl 5 on ubuntu 2020 
Shell :: install paddlepaddle 
Shell :: bash check if string in file 
Shell :: docker container with powershell 
Shell :: matplotlib log colorbar 
Shell :: install microsoft edge terminal 
Shell :: gimp apt 
Shell :: ssh key 
Shell :: linux ssh server 
Shell :: docker image add tag 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =