Skip to content
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

Error when installing miniconda following the tips and tricks #44

Open
zaccharieramzi opened this issue Sep 14, 2020 · 3 comments
Open

Comments

@zaccharieramzi
Copy link
Contributor

I want to install miniconda as suggested in the tips and tricks and I get this error, when running conda update --yes conda:

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
  environment location: /gpfslocalsup/pub/anaconda-py3/2019.10

Do you know what could be causing it?

@lesteve
Copy link
Member

lesteve commented Sep 15, 2020

Probably you are picking up the sys-admin managed conda (likely through a module load) rather than the one you have installed in $WORK/miniconda3.

@zaccharieramzi
Copy link
Contributor Author

Yes probably, and how can I change that?

@lesteve
Copy link
Member

lesteve commented Sep 15, 2020

Not sure but probably a combination of these commands:

  • to figure out where conda is coming from:
which conda
type conda
  • to get conda to be the right thing (i.e. the one coming from your miniconda install in $WORK/miniconda3:
hash -r
module unload whatever-module-is-putting conda-in-the-path
source $MINICONDA_PATH/etc/profile.d/conda.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants