Last active
January 16, 2023 01:22
-
-
Save anujonthemove/ffc202258c4beb84f4ddcc56f98bea3e to your computer and use it in GitHub Desktop.
Steps to setup Python 3 virtual environment and virtual environment wrapper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Commands to install virtual environments | |
# With this setup, all your virtual environments will be placed | |
# at one place inside .virtualenvs folder under home directory in Linux | |
sudo apt update | |
sudo pip install virtualenv virtualenvwrapper | |
# open .bashrc file and copy paste the following lines below: | |
# virtualenv and virtualenvwrapper | |
export WORKON_HOME=$HOME/.virtualenvs | |
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 | |
source /usr/local/bin/virtualenvwrapper.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment