0

using autoenv and virtualenvwrapper in python and trying to configure in it the specific python version.

the autoenv file (called .env) contains (simply)

echo 'my_env'

is there a way to configure it's python version?

2
  • why not using mkvirtualenv command with --p option which lets you to choose the python version you need ? Commented Jan 11, 2015 at 9:43
  • Possible duplicate of Use different Python version with virtualenv Commented Nov 23, 2017 at 14:12

1 Answer 1

1

When creating virtual environment, you can specify which python to use. For example,

virtualenv -p/usr/bin/python2.7 env

Same for mkvirtualenv

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

1 Comment

you mean mkvirtualenv?

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.