No module named 'conda_token'

I just ran ‘conda update --all’ and the Navigator suddenly stopped working from the Windows 10 menu shortcut and powershell ‘anaconda-navigator’. Nothing else changed on the PC since the update. My understanding is that the issue is specific to conda 25.9.1 as reported in GitHub “Navigator fails to launch with conda 25.9.0 (missing conda.cli.python_api) #15290”.

Any workaround?

Traceback (most recent call last):
File “C:\Users\x\anaconda3\Scripts\anaconda-navigator-script.py”, line 6, in
from anaconda_navigator.app.main import main
File “C:\Users\x\anaconda3\Lib\site-packages\anaconda_navigator\app\main.py”, line 19, in
from anaconda_navigator.app.start import start_app
File “C:\Users\x\anaconda3\Lib\site-packages\anaconda_navigator\app\start.py”, line 32, in
from anaconda_navigator.widgets.main_window import MainWindow
File “C:\Users\x\anaconda3\Lib\site-packages\anaconda_navigator\widgets\main_window_init_.py”, line 48, in
from anaconda_navigator.widgets.dialogs.channels import DialogChannels
File “C:\Users\x\anaconda3\Lib\site-packages\anaconda_navigator\widgets\dialogs\channels.py”, line 27, in
from conda_token import token_list
ModuleNotFoundError: No module named ‘conda_token’

Hi @Alfred3, sorry you ran in to this. Could you try updating conda-token by running:

conda install –-name base conda-token=0.6.1

2 Likes

Solved! Thank you - conda-token was downgraded from 0.7.0 to 0.6.1 and it removed the issue.

1 Like

Facing a similar issue after running conda update --name base anaconda-navigator

I tried to apply this solution but got

Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • –-name
  • base

Current channels:

  • conda-forge/linux-64
  • conda-forge/noarch
  • pkgs/main/linux-64
  • pkgs/main/noarch
  • pkgs/r/linux-64
  • pkgs/r/noarch

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.