Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Creating virtual envs
- Hi guys! Below are simple steps to install **pip3**. This will also help when installing **virtualenv** which gives you an easy way to create virtual environments.
- ## Pip3
- >`$ sudo apt update`
- >
- >`$ sudo apt install python3-pip`
- Check the pip version
- > `$ pip3 --version`
- ## Virtualenv
- You can use this to create new virtual environments
- Use the command below to install virtualenv
- >``$
- sudo pip3 install virtualenv
- ``
- You can now use the command below to create a virtual environment
- >``$
- virtualenv < name_of_virtual_environment >
- ``
- Activating the virtual environment
- >`$
- source venv/bin/activate
- `
- >© Vick Kamau
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement