Sometimes the configuration added with the token set command It’s not recognized by Anaconda, to fix that issue we can manually add this information inside the .condarc file:
add_anaconda_token: true
restore_free_channel: false
default_channels:
- https://repo.anaconda.cloud/t/<token>/repo/main
- https://repo.anaconda.cloud/t/<token>/repo/r
- https://repo.anaconda.cloud/t/<token>repo/msys2
You can test the changes with the command conda config --show-sources and verify if everything works by installing a package, for example conda install pandas.