When I install virtualenv
and activate it which python
returns my /usr/bin/python
. I read here it is because I have python alias in my bash startup scipt and virtualenv doesn't work with it.
However, I can't find word python
neither in .profile
or .bashrc
file in Kubuntu 17.10. What should I do to make virtualenv use virtual environment and where to find and delete those aliases?
type -a python
show?project_env
it returnspython is /usr/bin/python
and also when I deactivate it.#!/usr/bin/env python
PATH
look like? Also, what ispath/to/project_env/bin/python -V
?