aiidalab / aiidalab-docker-stack

Docker images with the basic software stack for AiiDAlab

Home Page:https://aiidalab.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set PIP_USER=true in the image

danielhollas opened this issue · comments

When using pip to install packages, we always user the --user flag so that the packages are installed in ~/.local/ and thus saved in a docker volume that backs the home directory.

We should just make it the default, so that in case user runs pip directly for whatever reason, they automatically install to ~/.local/ even if they forget to specify --user. (This happened to me personally many times)

See:
https://pip.pypa.io/en/stable/topics/configuration/#environment-variables