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?

Ohad Perry
  • 1,315
  • 2
  • 15
  • 26
  • why not using mkvirtualenv command with --p option which lets you to choose the python version you need ? – aberna Jan 11 '15 at 09:43
  • Possible duplicate of [Use different Python version with virtualenv](https://stackoverflow.com/questions/1534210/use-different-python-version-with-virtualenv) – Anton Tarasenko Nov 23 '17 at 14:12

1 Answers1

1

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

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

Same for mkvirtualenv

Andrew_Lvov
  • 4,621
  • 2
  • 25
  • 31