Open your ~/.bashrc
file and see if this line is there –
export PIP_REQUIRE_VIRTUALENV=true
It might be causing the trouble. If it’s there, change it to false
and run –
source ~/.bashrc
If not, run export PIP_REQUIRE_VIRTUALENV=false
from terminal.
Note: everything works the same if you have .bash_profile
instead of .bashrc
in your current user’s root directory.