I’m trying to install a Python package in my home directory on Gadi (/home/156/ps7863/python_packages). However, Gadi says I don’t have permission to do so:
EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: /g/data/hh5/public/apps/miniconda3/envs/analysis3-24.04
uid: 18195
gid: 4334
Is there a workaround for this? Should I create my own Conda environment? I’d prefer to avoid this if possible, so I don’t need to activate it every time I use the package…
Although @dkhutch’s approach works, it’s not always the recommended approach.
More info here:
The downside with this approach is that it can lead to problems in the future. First of all, everything will be installed in your /home directory, which has a small quota and can easily be filled by local pip installations.