Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Hot answers tagged

9

You are correct that ein at tkf's repository on github only works with versions of IPython prior to 2.x. With that said, however, if you use this version you will find that it works with IPython 2.x and Jupyter (i.e. IPython 3.0). Installing ein from MELPA or el-get will install the latest ein which works with the latest versions of IPython.


4

I think EIN's main value was to be able to connect arbitrary buffers to the ipython kernel that corresponds to the notebook, therefore enabling cooperation of multiple Emacs "objects". But since EIN's README only mentions ipython 0.12 and there hasn't been any activity for a while, it's highly likely that API changes make it currently unusable.


2

I believe the line should be (require 'ein)


2

this was discussed on the emacs-ipython-notebook github recently. https://github.com/millejoh/emacs-ipython-notebook/issues/41 It seems like a bug in iPython, but for the moment there is a work around by setting the matplotlab rc parameters directly. import matplotlib as mpl mpl.rcParams["figure.facecolor"] = "white" mpl.rcParams["axes.facecolor"] = "white"...


1

I ran into this problem and found that the issue was with the token that jupyter notebooks now use. I disabled the token per this GitHub issue. I'm reproducing the instructions below: cd ~/.jupyter jupyter notebook --generate-config Then set the c.NotebookApp.token parameter to an empty string c.NotebookApp.token = '' Note that if you care about ...


1

"GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) EIN only works on Emacs 25. See https://github.com/millejoh/emacs-ipython-notebook/issues/190. If perchance you use a Ubuntu derivative, there is a ppa: sudo add-apt-repository ppa:kelleyk/emacs


1

I am using emacs 25.2 In my case I tink that this was the problem https://github.com/syl20bnr/spacemacs/issues/8797 I solved setting up Python 3 and installing python-mode. Note that in Python 3 raw_input has been replaced by input.


1

There is a current EIN that took over. On Emacs 25, it works out of the box. Usage Install from MELPA. For manual install, put Emacs lisp ein*.el files and Python file ein.py in your load path. See online documentation for more information. Start the Jupyter notebook server. (Optional) Newer versions of Jupyter have token ...


1

There is a new version of EIN that replaced the old one on MELPA. On Emacs 25 and up, it works out of the box. Emacs 24 needs to upgrade, though, see https://github.com/millejoh/emacs-ipython-notebook/issues/190. which are the advantages of using EIN over the IPython shell inside Emacs? One advantage is to read in ipynb files, and to easily exchange ...


Only top voted, non community-wiki answers of a minimum length are eligible