В моем .bash_profile есть следующее
gpip(){
PIP_REQUIRE_VIRTUALENV="" pip3 "$@"
}
Но когда я набираю gpip instal ... я получаю: Could not find an activated virtualenv (required).
Попробовал, как предлагалось:
Last login: Thu Jul 5 03:06:42 on ttys008
~ ❯❯❯ export PIP_REQUIRE_VIRTUALENV=true
~ ❯❯❯ gpip(){
> PIP_REQUIRE_VIRTUALENV="" pip3 "$@"
> }
~ ❯❯❯ pip3 install foo
Could not find an activated virtualenv (required).
~ ❯❯❯ gpip install foo
Could not find an activated virtualenv (required).