This problem is solved. Actually I was not using BASH shell , even if the echo $SHELL outputs bin/bash . Because of this output, I thought i was using using BASH shell. Then I login through SSH . If you are using Windows must login through PUTTY . Then I could activate my virtual environment through source my_env/bin/activate.