This was actually pretty easy. Here’s what I did:
- Opened a new Terminal window that wasn’t in a virtualenv.
- Ran brew update
- Ran brew install python3
- 
cd ~/.virtualenvs(the folder where my virtualenvs are)
- 
virtualenv -p `which python3` data3to create a new virtualenv using Python 3
- 
workon data3(this is from virtualenvwrapper)
- pip install "ipython[all]"
Update: I've been trying out pyenv, which is forked from my much-beloved rbenv. It seems to work fine with virtualenv via pyenv-virtualenv, but I could not get pyenv-virtualenvwrapper to work. I'm using this now to run an updated version of Python 2 without messing with my system Python, and it seems to work fine.
🌟 Was this page helpful? Please let me know with this quick, 3 question survey.