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
.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Django __str__ returned non-string (type NoneType)
- Evil ctypes hack in python
You need only install
virtualenvwrapper
once. See the warning about installing on your base Python installation.Using Homebrew package manager install
python2
andpython3
.Making a virtual environment is a matter of passing a flag.