Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to install #58

Open
vansnowpea opened this issue Jan 16, 2017 · 6 comments
Open

fail to install #58

vansnowpea opened this issue Jan 16, 2017 · 6 comments

Comments

@vansnowpea
Copy link

hi , I tried both install in atom and install it through git , but failed.

and I am in China.

while I can install some other packages in atom

would you have a check ?

Thanks.

@gnestor
Copy link
Contributor

gnestor commented Feb 25, 2017

This repo is not being actively maintained 🙁 In the meantime, I suggest that you look at hydrogen to run code inline in Atom's text editor, nteract (a new Jupyter notebook client built using Electron, React, Redux, RxJS), Jupyter Notebook, and JupyterLab.

Having said that, nteract is currently extracting its many components into separate packages which will allow them to be reused and assembled to create new apps. When I have the time, I would like to use them to completely refactor this project.

@draperjames
Copy link

@gnestor are you still thinking about doing the refactor based on nteract? What would a project like that take?

@gnestor
Copy link
Contributor

gnestor commented May 30, 2017

Hey @draperjames! It would involve taking the current notebook implementation in nteract and modifying it to work within Atom. Specifically, https://github.com/nteract/nteract/blob/master/src/notebook/index.js (the root React component on nteract's notebok) would need to be modified to fit in https://github.com/jupyter/atom-notebook/blob/master/lib/main.js#L22-L38. What happens in https://github.com/jupyter/atom-notebook/blob/master/lib/main.js is:

In order to start/connect to a kernel, you may need some pieces from https://github.com/nteract/nteract/tree/master/src/main.

@rgbkrk Do you think it's currently feasible to use nteract's notebook from within an Atom extension?

@rgbkrk
Copy link
Member

rgbkrk commented May 30, 2017

I think you'll be able to pull a lot of the pieces in, I'm not sure what the data / event model should be for use in Atom though.

@gnestor
Copy link
Contributor

gnestor commented May 30, 2017

I just chatted with @rgbkrk and [nteract's ipc events (from Electron) such as menu commands, starting a kernel, and opening a notebook need to be wired to Atom's commands. Recap: copy over src/notebook from nteract into atom-notebook, edit the lib/main.js to register an opener for ipynb, a view provider (nteract's store as model and nteract's notebook React component as view), and replace usage of ipc with Atom commands. Best of luck!! 👍👍

@rgbkrk
Copy link
Member

rgbkrk commented May 30, 2017

Ideally, I'd like to see more packages get extracted out of nteract desktop into lerna packages instead of copying it over, though I understand it being a bit easier to get going by grabbing and going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants