hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

No kernel for grammar Python found

Open O-Developer opened this issue 5 years ago • 4 comments

Prerequisites

Description

Hi, i'm sorry to bother the community but i've looked at other posts with the same issue i'm having and i've tried alot of solutions and it's not working, any help would be appreciated, thank you, sorry.

'No kernel for grammar Python found

Check that the language for this file is set in Atom, that you have a Jupyter kernel installed for it, and that you have configured the language mapping in Hydrogen preferences.

To detect your current Python install you will need to run:

python -m pip install ipykernel python -m ipykernel install --user'

Is there something i'm missing?

Steps to Reproduce

  1. Install hydrogen
  2. python -m pip install ipykernel python -m ipykernel install --user
  3. installed packages checked below
  4. updated the kernel
  5. tried to run my code

Versions

OS version: Windows 10 Home 1909

atom --version

Atom    : 1.52.0
Electron: 6.1.12
Chrome  : 76.0.3809.146
Node    : 12.4.0

apm --version

apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.52.0
python
git
visual studio

Hydrogen version:

[2.14.6]

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

  • [x] hydrogen-python
  • [x] Hydrogen Launcher
  • [x] Data Explorer

Logs

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

Expected behavior

I would like it to run my code

Screenshots

Capture

Additional context

I'd also like to use hydrogen for my c# code and maybe others

O-Developer avatar Nov 06 '20 00:11 O-Developer

@O-Developer Have you confirmed that Atom is installed in the same environment where your Jupyter kernels are?

captainsafia avatar Nov 06 '20 18:11 captainsafia

@O-Developer Have you confirmed that Atom is installed in the same environment where your Jupyter kernels are?

I've managed to get c# to run, however there are some glitches with running my code (like not taking input) but python isnt working at all and is giving the above error. I tried to install globally (without virtual enviroment) How do i check it's installed in the same enviroment??

Sorry, Thank you

ghost avatar Nov 11 '20 02:11 ghost

I tried to install globally (without virtual enviroment)

Then it looks like you have it installed in the same environment since you are not using virtual envs. Do the kernels work if you connect to them from Jupyter Notebook?

captainsafia avatar Nov 11 '20 22:11 captainsafia

I tried to install globally (without virtual enviroment)

Then it looks like you have it installed in the same environment since you are not using virtual envs. Do the kernels work if you connect to them from Jupyter Notebook?

Im sorry for the really late replies. Yes the kernels do work when i connect to them from Jupyter notebook

ghost avatar Nov 17 '20 03:11 ghost