Require activated virtualenv on PIP

I highly recommended to separate your working environments so every project has their own set of packages. To do this just edit the ~/.bash_profile file.

# define a "global pip" function to use outside virtualenv:
    PIP_REQUIRE_VIRTUALENV="" pip "[email protected]"

After that, reload the source file with this command source ~/.bash_profile.

Irving Kcam

Full Stack Developer. AWS lover, Django ninja, Angular enthusiast.

No Comments

You can leave the first : )

Leave a Reply