Answers for "creating a virtual environment for python on ubuntu 18.04"

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
1

pyenv install ubuntu

root@ubuntu:~# apt install -y make build-essential libssl-dev zlib1g-dev 
> libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev
> libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl
> git
Posted by: Guest on August-23-2020

Code answers related to "creating a virtual environment for python on ubuntu 18.04"

Python Answers by Framework

Browse Popular Code Answers by Language