Reputation: 41
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.
Upvotes: 4
Views: 3018
Reputation: 22295
Nothing will be 100% effective. But here are some ideas...
index-url
purposefully wrong.pypi.org
.Upvotes: 3