On Canopy v2 startup, Python kernel fails to start

 

Problem:

You start the Canopy Editor, and immediately see an error dialog popup with a message such as:

    Kernel Error
        The kernel (user python environment) has failed to start.
        Please verify that the kernel interpreter path is correct.

 

When you "OK" out of this dialog, the Editor window opens, but its Python panel shows:

    INFO: PYthon panel is disabled while the ipython kernel is not
    running.

 

Resolution:

The most likely cause of this would be that your Canopy User Python environment has been corrupted (for example by a system backup/restore error, or by human accidental damage). If the problem persists after rebooting the system, Reset the User Python Environment from the Canopy Tools => Troubleshoot menu.

If "Reset User Python Environment" is not available, this means that you have configured Canopy to use a different Python environment, which is no longer available. In this case, go to the Canopy Preferences menu's Python panel, then either "Use Default Canopy Environment (User)" or else select a different available "EDM Environment to use" (possibly after creating it with the "Create New Environment" button.) For more on these options, see "Switching Python Environments".

Have more questions? Submit a request

Comments

  • Avatar
    Víctor Sánchez

    I'm running WIN7 64-bit, admin account, and I installed this version:
    Windows [64-bit] 3.5 download 2018-04-23 476.7 MB f340f95f775c55207e82490116152ba0
    As soon as it finished installing Canopy, I opened it and showed me this message: Python kernel has crashed. I found this article and did all the procedures mentioned (in this order):

    Rebooted system (PC)
    Did the reset of the User Python Environment from the Canopy Tools => Troubleshoot menu

    None of them solved the issue, please any advice would be very helpful.

  • Avatar
    Evan Hurwitz

    I'm having a similar problem.

    Installed Canopy, have previous installation of Python and VSCode, and I get this problem. When I try to reset the python environment, I get an error of "File not found", and instructions to check file permissions

Powered by Zendesk