0

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.

2
  • 1
    You can use the -p arg like so -- virtualenv -p $(which python3) Commented Mar 24, 2015 at 18:10
  • @BrianCain Thank you for the answer. Not sure how to mark it as you posted in the comment. For other newbies, since I am using mkvirtualenv, the command is: mkvirtualenv -p $(which python3) nameOfEnvironment Commented Mar 26, 2015 at 12:00

1 Answer 1

2

You can use the -p arg like so -- virtualenv -p $(which python3)

Sign up to request clarification or add additional context in comments.

1 Comment

For other newbies, since I am using mkvirtualenv, the command is: mkvirtualenv -p $(which python3) nameOfEnvironment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.