I have created a python virtual environment using virtualenv, after activating it, I can see where is Python installed in my shell as following:
Kudos to above, For python 3.X you can fix this issue with:
sudo apt-get install libpython3.x-dev
No need to any changes to environment path manually.