Closed AAYamoldin closed 4 years ago
I've tested Atom v1.41 with a kernelspec installed in a similar folder and it works.
$ jupyter-kernelspec list
Available kernels:
javascript /home/user/.local/share/jupyter/kernels/javascript
python2 /home/user/.local/share/jupyter/kernels/python2
python3 /usr/share/jupyter/kernels/python3
Unfortunately, Hydrogen's log messages won't help in this case, because the functionality to locate kernelspecs is implemented by the packages kernelspecs and jupyter-paths.
As I can't reproduce the issue, if you want to debug it, I'd install kernelspecs
and see if you can confirm that kernelspecs
can't find your kernelspec. This is what I get in my machine:
var ks = require("kernelspecs");
ks.findAll(console.log, console.error);
{ javascript:
{ name: 'javascript',
files:
[ '/home/user/.local/share/jupyter/kernels/javascript/kernel.json',
'/home/user/.local/share/jupyter/kernels/javascript/logo-32x32.png',
'/home/user/.local/share/jupyter/kernels/javascript/logo-64x64.png' ],
resources_dir: '/home/user/.local/share/jupyter/kernels/javascript',
spec:
{ argv: [Array],
display_name: 'Javascript (Node.js)',
language: 'javascript' } },
python2:
{ name: 'python2',
files:
[ '/home/user/.local/share/jupyter/kernels/python2/kernel.json',
'/home/user/.local/share/jupyter/kernels/python2/logo-32x32.png',
'/home/user/.local/share/jupyter/kernels/python2/logo-64x64.png' ],
resources_dir: '/home/user/.local/share/jupyter/kernels/python2',
spec: { display_name: 'Python 2', language: 'python', argv: [Array] } },
python3:
{ name: 'python3',
files:
[ '/usr/share/jupyter/kernels/python3/kernel.json',
'/usr/share/jupyter/kernels/python3/logo-32x32.png',
'/usr/share/jupyter/kernels/python3/logo-64x64.png' ],
resources_dir: '/usr/share/jupyter/kernels/python3',
spec: { argv: [Array], display_name: 'Python 3', language: 'python' } } }
var jp = require('jupyter-paths');
jp.dataDirs({ withSysPrefix: true }).then(console.log, console.error);
[ '/home/user/.local/share/jupyter',
'/usr/local/share/jupyter',
'/usr/share/jupyter' ]
Thank you! It works for me.
Did you get to figure out what was causing the problem? Was it just an installation issue?
Hello, I have a problem with using Kernel in Atom I have an error
but my terminal shows me that all is okay
Do you have any ideas?