Comments (9)
Which of these directories contains the kernelspecs? ~/.jupyter
?
from hydrogen.
Multiples. It's the aggregation of all of them...
In [1]: import jupyter_core.paths
In [2]: jupyter_core.paths.jupyter_path("kernels")
Out[2]:
['/Users/rgbkrk/Library/Jupyter/kernels',
'/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/share/jupyter/kernels',
'/usr/local/share/jupyter/kernels',
'/usr/share/jupyter/kernels']
This is where I was bantering around with creating a simple wrapper script that would dump JSON to stdout with options we'd need from an alternate front end (like Hydrogen). The other alternative is to use what we've got and launch a python kernel just for Hydrogen that queries for this same information.
It's either that or always searching particular paths.
from hydrogen.
Gosh, that's ugly. I'd sure love a script that dumps JSON of all the kernels' info.
from hydrogen.
Especially if that script worked across IPython and Jupyter.
from hydrogen.
As the migration happens, IPython will just be one of the kernels for Jupyter. It's all the same team.
When I get some free time after work, I'll start poking at what scripts could be useful for Hydrogen and Jupyter sidecar to call out to Jupyter for accurate information.
from hydrogen.
What I mean is that I'd like this to still work for people who haven't
updated to a post-Split version. I find most people don't update until
something completely stops working.
Thanks!
On Tue, May 19, 2015 at 4:51 PM Kyle Kelley [email protected]
wrote:
As the migration happens, IPython will just be one of the kernels for
Jupyter. It's all the same team.When I get some free time after work, I'll start poking at what scripts
could be useful for Hydrogen and Jupyter sidecar to call out to Jupyter for
accurate information.—
Reply to this email directly or view it on GitHub
#7 (comment).
from hydrogen.
Totally, I'll end up making a script that straddles both.
Also, people are strange and install from master whether or not they're contributing to IPython/Jupyter. For this release it's a bit silly since it's mostly repackaging, but in previous versions it was a big delta.
from hydrogen.
Awesome!
For the moment I'm loading all kernels found in that list plus ~/.ipython/kernels
and ~/.jupyter/kernels
. Not a good answer, but it ought to tide us over for now. That's in the latest release.
from hydrogen.
Done in #19.
from hydrogen.
Related Issues (20)
- hydrogen fails to install on Atom HOT 2
- fialedto activate
- npm WARN deprecated [email protected] HOT 2
- Failed to activate the Hydrogen package HOT 18
- [email protected] failed
- Interactive input in output area
- VSCode: port or alternative HOT 12
- Uncaught Error: Cannot find module 'lodash/debounce'Require stack:- $ATOM_HOME/packages\Hydroge... HOT 3
- Uncaught error: no native build was found for platforms HOT 4
- Please port to Vs Code or any other IDE HOT 1
- Uncaught Error: No native build was found for platform=darwin arch=x64 runtime=electron abi=85 uv... HOT 2
- TypeError when using hydrogen with pulsar HOT 4
- Hi, If the notebook in "not trusted" mode. Just click on it and make it trusted then save the file. It will work fine.
- SCRIPT WONT EXECUTE. HOT 1
- can't rebuild zeromq for pulsar
- Newly installed python modules cannot be found by hydrogen in pulsar
- [18:30] r p npm WARN deprecated [email protected]: this library is no longer supported [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic
- deleted
- Is this going to be maintained? HOT 5
- Publish Hydrogen to Pulsar Package Repository HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen.