Prevents the installation of packages into you base installation of python
pip3 install pip-venv-sure
alias pip3=pip-venv-sure
I don't like installing packages directly into my base installation. But as a mere human being I sometimes forget to activate my venv, so this prevent these kinds to accidents from happening.
Some times there is a need to install package directly to the base installation of python in that case you can use the following command.
pip3 install any-template --allow-no-venv