Anaconda Navigator崩溃,请求排查KeyError: 'uri'报错问题
I’ve run into this exact issue before—your Navigator is crashing because the Community tab is trying to access a missing 'uri' key in package data, which usually stems from corrupted cache or outdated software. Here’s how to fix it:
First, let’s recap the error you’re seeing (for reference):
File "/home/gunjan/anaconda3/lib/python3.5/site-packages/anaconda_navigator/widgets/tabs/community.py", line 372, in set_content_list uri=item['uri'], date=item.get('date', '') or "", KeyError: 'uri' Aborted (core dumped)
And your current conda environment details:
Current conda install: platform : linux-64 conda version : 4.2.9 conda is private : False conda-env version : 4.2.9 conda-build version : 2.0.2 python version : 3.5.2.final.0 requests version : 2.11.1 root envi...
Step 1: Reset Anaconda Navigator Cache
The fastest fix is to clear Navigator’s corrupted cache data:
anaconda-navigator --reset
After running this, try launching Navigator again—this often resolves the KeyError immediately.
Step 2: Update Conda and Navigator
Your conda version (4.2.9) is quite outdated, and updating to the latest releases fixes many compatibility bugs:
- First update conda itself:
conda update conda
- Then update Anaconda Navigator:
conda update anaconda-navigator
Step 3: Force Reinstall Navigator (if steps 1 & 2 fail)
If the above don’t work, force a reinstall to replace any corrupted Navigator files:
conda install --force-reinstall anaconda-navigator
After completing any of these steps, launch Anaconda Navigator normally—it should no longer crash when loading the Community tab.
内容的提问来源于stack exchange,提问作者Gunjan Patait

