-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip installation fails in a least-privilege system #52
Comments
You should be using virtual environments on a cluster for any python project. This is not unique to DeerLab. |
I am aware of that, however, in this cluster they recommend the direct installation of packages without a virtual environment. So users without much Python expertise stumbled upon this when following the cluster documentation. This might also be a problem in IT systems where users have limited privileges on their office computers. |
You should probably just let pip handle (non-pipwin) dependencies instead of explicitly installing them. |
When trying to install DeerLab via
on a cluster with only user-level privileges.
The
setup.py
script crashes when trying to install all other dependencies in the installation script:Since
pip
is called without the--user
flag, the installation fails due to the lack of privilege to install dependencies system-wide.The easiest fix is to install DeerLab dependencies only at user-level not system-wide, e.g.
but maybe there is a more elegant way to do this.
The text was updated successfully, but these errors were encountered: