question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PermissionError raised from .ipython/.matplotlib/folders when starting the kernel/using the IPython Console

See original GitHub issue

Issue 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 (or pip, 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

I open Spyder and get a traceback error indicating the kernel cannot be stated.

What steps reproduce the problem?

  1. Open Spyder after a standard Anaconda installation

Note: I then try going to Consoles>restart kernel and Spyder goes into a loop saying “Kernel died, restarting”

What is the expected output? What do you see instead?

Kernel should start allowing me to use Spyder

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 4.1.3
  • Python version: 3.7
  • Qt version:
  • PyQt version:
  • Operating System name/version: Windows 10 Enterprise

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
galtechcommented, Jul 16, 2020

I’ve done that. It looks good now @dalthviz Thank you for your help.

0reactions
dalthvizcommented, Jul 16, 2020

@galtech seems like you need to check the permissions for the folders in your home directory and their content (in this case .matplolib) and give your user (the one you are using to run Spyder) the appropriate access as you did with the .ipython folder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PermissionError while starting the kernel in Spyder's IPython ...
This seems a permissions issue. Running Spyder as administrator (right click on it-> run as administrator) solves the problem.
Read more >
Spyder ipython console throws "An error ocurred while starting ...
Description When restarting ipython kernel or opening a new ipython console session within Spyder, it crashes. Below is the error message.
Read more >
IPython reference — IPython 3.2.1 documentation
You start IPython with the command: $ ipython [options] files. If invoked with no options, it executes all the files listed in sequence...
Read more >
Connecting Spyder IDE to a remote IPython kernel - Medium
Connecting Spyder to a remote kernel is as straightforward as the notebooks. I will walk you through the process. First, you need to...
Read more >
0.12 Series — IPython 8.7.0 documentation
Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7. If you are ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found