To install pip
sudo apt-get install -y python3-pip
To install python3 virtual env
sudo apt install python3-venv
To create a virtual env run the below command
python3.8 -m venv venv
To activate virtual env run the below command
source venv/bin/activate
To check the installed Python package inside the virtual env run the below command
pip list
Top comments (0)