简体   繁体   中英

How to create a virtualenv with Python3 while my system is OsX 10 with Python2

My machine is OsX 10.10.2 and I have Python 2 installed.

It is possible to create a virtualenv using virtualenvwrapper command mkvirtualenv to run on Python 3? I am reluctant to install Python3 in my system as the last time I did that, python on the whole stopped working. Not sure why, I am a new. May I screwed up. I am looking for the command to run.

您可以像这样使用-p arg- virtualenv -p $(which python3)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM