About Restricting Pip Installations to Virtual Environments Only
Edit ~/.zshenv
within zsh shell or ~/.bash_profile
within bash shell and add a line to restrict pip installations only to virtual environments:
1 |
|
Then if you try to install anything globally, you will get an error:
1 |
|
This saves you from polluting the global scope by accident.
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You