Comments (11)
I'd say #40 is somewhat related, too. It would bind kernels to files though.
from hydrogen.
So is there a way right now to switch the ipython kernel from "ipython" to "ipython3"? Because it tries to run the ipython kernel ( which is ipython2), instead of the ipython3 kernel.
from hydrogen.
I guess the solution would be to have ipython3 only on your Path, as the current kernel mapping seems to not support a mapping like:
{"Python": "python3"}
but maybe I'm missing something there. @willwhitney should know more.
from hydrogen.
Well, creating a symbolic link like this
ln -s /usr/bin/ipython3 /usr/bin/ipython
also works.
from hydrogen.
There are actually a few issues here.
- IPython doesn't currently build kernelspec files for itself, meaning that Hydrogen can't know what
ipython
s are installed on your machine. ipython kernel
doesn't accept a connection file in the same way that other kernels do- Hydrogen needs UI for switching
- and 2. mean that Hydrogen launches Python kernels differently than others; it always calls
ipython
. At present, I think using symlinks to makeipython
call the IPython you want to run is the best option, as ugly as it is. Ifipython
currently points to a Python 2ipython
install, you can of course rename that toipython2
.
@rgbkrk is there a better way for Hydrogen to support this given the current state of the IPython kernel?
from hydrogen.
On current master
, the IPython kernel is installed as a standalone kernel with a kernel.json. This will be better on the coming 4.0 release, which is much better focused on supporting alternative kernels.
However, there is a way to install the kernels when on a 3.x release:
python2 -m IPython kernelspec install-self # Viva la Python 2
python3 -m IPython kernelspec install-self # Viva la Python 3
I'm on an
from hydrogen.
As I mentioned in #119, this is also common for Julia developers who have multiple Julia versions installed for testing purposes. These are all installed as separate kernelspecs (julia-0.3
, julia-0.4
, and julia-0.5
in my case) in my Jupyter directory. What I would like would be:
- A way to change the kernel manually at runtime in Atom.
- A way to set a preference for the default kernel to use with a given language. (e.g. if I want all Python files to default to the Python 3 kernel, or all Julia files to default to the Julia 0.4 kernel)
from hydrogen.
Is it possible to also add an option of selecting a remote kernel? If I have an IPython notebook running on the remote server, it would be nice to be able to execute code in the context of the one of the notebooks there.
from hydrogen.
This has been discussed quite a bit. It's definitely on my "want" list, but
it's not clear that there's currently a good way to do this. I do expect to
implement this eventually, but don't hold your breath.
On Fri, Oct 9, 2015 at 6:22 PM Maxim Grechkin [email protected]
wrote:
Is it possible to also add an option of selecting a remote kernel? If I
have an IPython notebook running on the remote server, it would be nice to
be able to execute code in the context of the one of the notebooks there.—
Reply to this email directly or view it on GitHub
#39 (comment)
.
from hydrogen.
Relating to this issue:
Hydrogen stopped working for me when, I upgraded to julia 0.4.0 (on Ubuntu 15.10 via ppa).
After rebuilding IJulia, normal jupyter notebooks worked fine. However Hydrogen would not connect properly to the kernel. This led to a situation where hydrogen would look like it had executed code, but in fact it only showed the ✔️ sign and produced no output.
I realised that the upgrade of Julia had deprecated the previous julia 0.3 kernel. This still showed up in jupyter kernelspec list
but was no longer functional. Just deleting the deprecated kernel and reloading atom did not help, however re-installing hydrogen finally fixed it.
Whereas I realise that it bad practise anyway to keep deprecated kernels, I think exposing kernel-connection settings would definitely help.
from hydrogen.
See #138
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.