admin管理员组文章数量:1026989
I have just re-installed my anaconda. Below is my ~/.condarc
channels:
-
-
-
custom_channels:
conda-fe:
pytorch:
show_channel_urls: true
However when I type
conda config --show channels I get the following
channels:
-
-
-
-
-
and conda config --show custom_channels still gives me the following:
custom_channels:
pkgs/main:
pkgs/r:
conda-fe:
pytorch:
How do I remove the repo.anaconda channels? As my conda is still trying to download packages from the default channels. I tried
conda config --remove channels
but got
CondaKeyError: 'channels': value '' not present in config
I have just re-installed my anaconda. Below is my ~/.condarc
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-fe: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
show_channel_urls: true
However when I type
conda config --show channels I get the following
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
- https://repo.anaconda/pkgs/main
- https://repo.anaconda/pkgs/r
and conda config --show custom_channels still gives me the following:
custom_channels:
pkgs/main: https://repo.anaconda
pkgs/r: https://repo.anaconda
conda-fe: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
How do I remove the repo.anaconda channels? As my conda is still trying to download packages from the default channels. I tried
conda config --remove channels https://repo.anaconda/pkgs/main
but got
CondaKeyError: 'channels': value 'https://repo.anaconda/pkgs/main' not present in config
Share
Improve this question
asked Nov 16, 2024 at 5:05
给你机会你不中用啊给你机会你不中用啊
234 bronze badges
1 Answer
Reset to default 0managed to solve this in the end. For anyone having the same issue, run
find / -name ".condarc" 2>/dev/null
and see how many other .condarc files exist in your machine.
I ended up deleting the other .condarc files.
I have just re-installed my anaconda. Below is my ~/.condarc
channels:
-
-
-
custom_channels:
conda-fe:
pytorch:
show_channel_urls: true
However when I type
conda config --show channels I get the following
channels:
-
-
-
-
-
and conda config --show custom_channels still gives me the following:
custom_channels:
pkgs/main:
pkgs/r:
conda-fe:
pytorch:
How do I remove the repo.anaconda channels? As my conda is still trying to download packages from the default channels. I tried
conda config --remove channels
but got
CondaKeyError: 'channels': value '' not present in config
I have just re-installed my anaconda. Below is my ~/.condarc
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-fe: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
show_channel_urls: true
However when I type
conda config --show channels I get the following
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
- https://repo.anaconda/pkgs/main
- https://repo.anaconda/pkgs/r
and conda config --show custom_channels still gives me the following:
custom_channels:
pkgs/main: https://repo.anaconda
pkgs/r: https://repo.anaconda
conda-fe: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
How do I remove the repo.anaconda channels? As my conda is still trying to download packages from the default channels. I tried
conda config --remove channels https://repo.anaconda/pkgs/main
but got
CondaKeyError: 'channels': value 'https://repo.anaconda/pkgs/main' not present in config
Share
Improve this question
asked Nov 16, 2024 at 5:05
给你机会你不中用啊给你机会你不中用啊
234 bronze badges
1 Answer
Reset to default 0managed to solve this in the end. For anyone having the same issue, run
find / -name ".condarc" 2>/dev/null
and see how many other .condarc files exist in your machine.
I ended up deleting the other .condarc files.
本文标签: pythonremove default conda channelsStack Overflow
版权声明:本文标题:python - remove default conda channels - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745664989a2162123.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论