I wish to PREVENT users from running pip to install packages into their home directory.
I have a fairly large number students who have network mounted home directories and file and space quotas on their directories.
I want to be able to allow them access to the system python / anaconda, but to prevent them from using pip to install things themselves. A huge amount of teaching time is wasted during unpicking things students have installed and unlocking their accounts because they've filled their home directory with pip-installed software.
Any suggestions would be greatly appreciated.