Spyder "An error ocurred while starting the kernel" when I updated conda in anaconda prompt
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
This is my problem on the console The error is:
Traceback (most recent call last): File “C:\Users\Robert\Anaconda3\lib\site‑packages\spyder\plugins\ipythonconsole.py”, line 1572, in create_kernel_manager_and_kernel_client kernel_manager.start_kernel(stderr=stderr_handle) File “C:\Users\Robert\Anaconda3\lib\site‑packages\jupyter_client\manager.py”, line 240, in start_kernel self.write_connection_file() File “C:\Users\Robert\Anaconda3\lib\site‑packages\jupyter_client\connect.py”, line 547, in write_connection_file kernel_name=self.kernel_name File “C:\Users\Robert\Anaconda3\lib\site‑packages\jupyter_client\connect.py”, line 212, in write_connection_file with secure_write(fname) as f: File “C:\Users\Robert\Anaconda3\lib\contextlib.py”, line 112, in enter return next(self.gen) File “C:\Users\Robert\Anaconda3\lib\site‑packages\jupyter_client\connect.py”, line 102, in secure_write with os.fdopen(os.open(fname, open_flag, 0o600), mode) as f: PermissionError: [Errno 13] Permission denied: ‘C:\Users\Robert\AppData\Roaming\jupyter\runtime\kerneld5611c0daf1.json’
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
- Spyder version:
- Python version:
- Qt version:
- PyQt version:
- Operating System name/version:
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
jupyter_client
5.3.4 andjupyter_core
4.6.0 are now available indefaults
@ccordoba12 Thanks a bunch, it worked! Assumed fresh installation of Anaconda would have the same effect as updating all, oh boy I was so wrong! My OCD was raising exponentially for the past 3 days!