You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Spyder无法从Anaconda启动,重置设置与重装后问题仍未解决

Fix for Spyder Launch Failure Due to Corrupted Autosave Cache

Hey there, let's get your Spyder up and running again. Looking at your error traceback, the root cause is a corrupted autosave cache file—the ast.literal_eval function is throwing an unexpected EOF error because the autosave metadata file is incomplete (likely from an unexpected Spyder crash the last time you used it).

Here's how to fix it step by step:

  • Step 1: Find the Spyder autosave directory
    On your Windows 10 machine, navigate to this path (replace <my account name> with your actual Windows username):

    C:\Users\<my account name>\.spyder-py3\autosave
    
  • Step 2: Clear the corrupted autosave files

    1. First, make sure Anaconda and Spyder are completely closed (check Task Manager to kill any background processes if needed).
    2. Open the autosave folder you located. You'll see files ending with .autosave and possibly .pid files.
    3. Delete all files in this folder—this only removes unsaved recovery data, so your already saved Python scripts are totally safe. If you want to try salvaging any unsaved work, you can open the .autosave files with a text editor first to copy out content before deleting.
  • Step 3: Launch Spyder again
    Go back to Anaconda Navigator and start Spyder. It should boot normally now, since it won't try to parse the broken autosave metadata anymore.

If the problem still persists:

Try resetting Spyder's settings once more (since you already tried this before, but doing it after clearing the autosave folder might help):

  1. Open Anaconda Navigator
  2. Go to the "Home" tab
  3. Locate Spyder, click the gear icon next to it
  4. Select "Reset"
  5. After the reset finishes, launch Spyder again

This solution is tailored to your setup: Windows 10, Anaconda 2020.02, Spyder 4.0.1.

内容的提问来源于stack exchange,提问作者aso

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.06 23:57:31