Skip to content

Instantly share code, notes, and snippets.

@AlexFrazer
Created February 20, 2024 15:08
Show Gist options
  • Save AlexFrazer/3f1e19031b7ae455b0a27ae693f1a94c to your computer and use it in GitHub Desktop.
Save AlexFrazer/3f1e19031b7ae455b0a27ae693f1a94c to your computer and use it in GitHub Desktop.
# Setting PATH for Python 3 installed by brew
export PATH=$(brew --prefix python3):$(brew --prefix virtualenv):$PATH
# Configuration for virtualenv
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=$(brew --prefix python3)/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=$(brew --prefix virtualenv)/bin/virtualenv
source $(brew --prefix virtualenvwrapper)/bin/virtualenvwrapper.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment