Wrong python binary virtualenv -
i installed virtualenv , virtualenvwrapper on mac work on django project.
my problem when in virtualenv , enter python manage.py runserver, reason python binary used not 1 inside virtualenv. have mac book air os 10.8.3
when enter name_of_virtualenv/bin/python manage.py runserver works fine.
when run python : /library/frameworks/python.framework/versions/2.7/bin/python
how can change default python 1 ?
i did not specify python version in requirements.txt.
thanks help
you haven't activated environment. either by:
source ./bin/activate
or virtualenvwrapper:
workon <theenvname>
note don't need of this. running django with
./bin/python manage.py runserver
works fine. don't have activate virtualenv. never do.