Python on macOS or:

virtual python=$(which python3)

Start

brew install python
brew install python3
alias python=$(which python3)
alias pip=$(which pip3)
alias pipconfig="pip config list -v"
alias pythoncerts="python -c "import ssl; print(ssl.get_default_verify_paths())""

Environments

python -m pip install --upgrade pippip install virtualenv virtualenvwrapper pipenv pyenvbrew install direnv
brew install pyenv direnv
export VIRTUALENVWRAPPER_PYTHON=$(which python3)
export WORKON_HOME=~/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
alias workoff=deactivate
alias workdel=rmvirtualenv
python -mvirtualenv /Users/your_name_here/tmp -p python3.7
pyenv install 3.7
pipenv --python 3.7

homebrew-python

brew install sashkab/python/python@3.X
/usr/local/opt/python@3.X/bin/python3.X -mvenv <path to venv>
/usr/local/opt/python@3.X/bin/python3.X -mpip install -U pip setuptools wheel

Covering all my bases

export PATH="/usr/local/opt/python@3.7/bin:$PATH"
alias python3.7="/usr/local/opt/python@3.7/bin/python3.7"
python -mvirtualenv /Users/your_name_here/tmp -p python3.7pyenv install 3.7pipenv --python 3.7

Asterisks

--

--

--

Is this bio too short? Or is it just the right length?

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Amazon EKS, RBAC and IAM access

NVMe over Fabrics Demystified

Content Directory | TryHackMe (THM)

Weekly coding progress [Week 27]

Voyage — Build-2-Learn Roadmap

Introduction to Terraform

Generator Datta Able — Code a simple dashboard using AppSeed

App Generator Datta Able — Generated Product Screen

10 Awesome Microsoft Visual Studio Extensions You Should Install

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
corcoran

corcoran

Is this bio too short? Or is it just the right length?

More from Medium

List and Tuple in Python

VS Code(1.66.2) Setting Up python interpreter path

Rise of python WSGI

Do you know about Python Programming? Jason Sindelar Explained.

Jason Sindelar Python Quote