-
Notifications
You must be signed in to change notification settings - Fork 146
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
.conda and .condarc #14
Comments
Hi! I don't use this myself, so I didn't have the chance to try it out when I went through the arch wiki article. According to that, the following files exist:
And the suggested solution is the following export: export CONDARC="$XDG_CONFIG_HOME/conda/condarc" It's unclear to me if this will move just the rc file, or the directory as well, and what role the rc files in the directory play. If you could give me some insight, that would be great! |
For testing, you can install miniconda. The > conda config --show-source
==> /home/user/.condarc <==
anaconda_upload: False
> mkdir $XDG_CONFIG_HOME/conda
> cp ~/.condarc "$XDG_CONFIG_HOME/conda/condarc"
> CONDARC="$XDG_CONFIG_HOME/conda/condarc" conda config --show-source
==> /home/user/.config/conda/condarc <==
anaconda_upload: False
==> /home/user/.condarc <==
anaconda_upload: False
> cp ~/.condarc ~/.conda/condarc
> CONDARC="$XDG_CONFIG_HOME/conda/condarc" conda config --show-source
==> /home/user/.config/conda/condarc <==
anaconda_upload: False
==> /home/user/.conda/condarc <==
anaconda_upload: False
==> /home/user/.condarc <==
anaconda_upload: False
The linked list of alternative paths suggest to me that > mv ~/.conda "$XDG_CONFIG_HOME/conda"
> conda config --show-source
==> /home/user/.config/conda/condarc <==
anaconda_upload: False
> conda config --set anaconda_upload true
> conda config --show-source
==> /home/user/.config/conda/condarc <==
anaconda_upload: False
==> /home/user/.condarc <==
anaconda_upload: True
> export CONDARC="$XDG_CONFIG_HOME/conda/condarc"
> export CONDA_ROOT="$XDG_CONFIG_HOME/conda"
> rm ~/.condarc
> conda config --set anaconda_upload true
> conda config --show-source
==> /home/user/.config/conda/condarc <==
anaconda_upload: False
==> /home/user/.condarc <==
anaconda_upload: True As the above log shows, I am unable to make miniconda use the XDG path when changing settings. Reading from XDG paths does not seem to be a problem but neither |
There is already an issue: conda/conda#8804 |
The only issue is
|
Hello, to update here, there is another file that is created by conda: |
I do not know the norm
The text was updated successfully, but these errors were encountered: