hydrogen: Hydrogen not able to run code - "The system cannot find the path specified"

Description:

Hydrogen fails to run Python code, although it is able to start a Python kernel giving the message “Hydrogen kernels updated - Python 3”. Other compiler packages like Script are able to run the code.

[Description of the issue]

Steps to Reproduce:

What I do:

  1. [First Step] Open atom through command or application.
  2. [Second Step] Execute a code.

Versions:

Which OS and which version of Hydrogen and Atom are you running?

OS: Windows 10 Atom : 1.31.0 Electron: 2.0.7 Chrome : 61.0.3163.100 Node : 8.9.3

You can get this information from copy and pasting the output of atom --version from the command line.

Logs:

python3error2

Please post any error logs and the output of the developer tools as described in our Debugging Guide.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Hi @mariogarcc. I had the same problem, but I was able to solve it. As you see in the dev console, the yellow part says the problem is related to a kernel spec. This is a kernel.json file located in C:\Users\[username]\AppData\Roaming\jupyter\kernels\python3 that pulls a python.exe in the "argv" argument. I use Anaconda, so when I first install it I didn’t use the default path. The problem is that the .json file pulls the python.exe assuming you previously use the default installation directory. My solution was to change the path from “C:\ProgramData\Anaconda3\python.exe” to “C:\Users\anaconda\Anaconda3\python.exe” where I install Anaconda. Now, it works like a charm! image I hope this will help you.

Hey! The issue was definetely there. I didn’t have the default path installed, I actually had the same I’m using now but the “anaconda” folder was written with lowercase letters, with the actual folder starting with an uppercase “A”. So I changed that and now it works fine. Thank you very much to everybody who helped! workslikeacharm