Install virtualenvwrapper for Python 2.7 and 3.6 simultaneously

How does one install virtualenvwrapper for both Python 2.7 and 3.6 versions? My default Python environment is Python 3.6 and as such virtualenvwrapper is installed for Python 3.6 and not 2.7. I'm using macOS Sierra 10.12.6.


You need only install virtualenvwrapper once. See the warning about installing on your base Python installation.

Using Homebrew package manager install python2 and python3.

Making a virtual environment is a matter of passing a flag.

# make py3 mkvirtualenv py3 --python=python3 # make py2 mkvirtualenv py2 --python=python2


  • How do I resolve SecureChannelFailure on OSX with mono
  • Do not autocomplete certain extensions from file names in shell for vim
  • How to share localhost between two different Docker containers?
  • search for an optimized selection in a pandas.dataframe
  • Ho do I capture ctrl + click on MacOS with d3js
  • Mac C++/Mars eclipse gdb debug launching stuck at 96%
  • PHP strptime format bug?
  • How do I increase font size in RStudio Help pane?
  • R and RStudio don't display greek letters and other symbols - display squares instead
  • Determine if Finder can be safely killed
  • Can we Create Smart Device Project in VIsual Studio 2015 Professional
  • Java Generic Type Inference Strange Behavior?
  • Python kernel dies when importing tensorflow 1.7
  • mfc - MessageBox with rich text
  • Including data files with setup.py
  • Creating new docker-machine instance always fails validating certs using openstack driver
  • pygame.init() shows as undefined variable after installing Pygame
  • Cannot find “Grammar.txt” in python-sphinx
  • Merge Module leaving files during uninstall
  • Installing Perl6 and Panda on Ubuntu 15.10. Problems with bootstrap.pl
  • import scipy.sparse failed
  • In matplotlib, how do you change the fontsize of a single figure?
  • pip in virtualenv gets ConnectTimeoutError
  • Spring: No transaction manager has been configured
  • During installation of Django, why do I keep getting ImportError: No module named django?
  • where do I find the xml.dom python package for the python-2.6.0-8.9.28 and I have a suse/x86_64 vers
  • Python pickle not one-to-one: different pickles give same object
  • accepts_nested_attributes_for practical form use for in Rails 3
  • Object and struct member access and address offset calculation
  • How do I configure context broker accept post requests from my remote sensor?
  • How solve “Qt: Untested Windows version 10.0 detected!”
  • gspread or such: help me get cell coordinates (not value)
  • C: Incompatible pointer type initializing
  • Install PHP intl extension on MacOS
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • recyclerView does not call the onBindViewHolder when scroll in the view
  • Can I make an Android app that runs a web view in Chrome 39?
  • Updated Ionic CLI but shows previous version (Windows)
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • Run Powershell script from inside other Powershell script with dynamic redirection to file