0

This question already has an answer here:

I've never tried IPython Notebook so I thought I would try EIN.

I installed ipython via dnf on Fedora 23 with all of the dependencies.

Then I installed ein via M-x list-packages through elpa.

But when I added (require 'ein) to my init.el I am getting the following error running emacs with --debug-init.

Debugger entered--Lisp error: (file-error "Cannot $
  require(ein)
  eval-buffer(#<buffer  *load*> nil "/home/myusername$
  load-with-code-conversion("/home/myusername/.ema$
  load("/home/myusername/.emacs.d/init" t t)
  #[0 "^H\205\262^@     \306=\203^Q^@\307^H\310Q\2$
  command-line()
  normal-top-level()

I'm not sure what to look into to help me debug this. I saw a few compilation errors during installation of ein with elpa but when I relaunched and looked at M-x list-packages then it says it is installed. Is that somtehing I should be worried about?

marked as duplicate by Dan May 28 '17 at 19:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You do not need to (require 'ein). Instead you should (package-initialize). – Stefan May 28 '17 at 18:47
2

I believe the line should be

(require 'ein)
  • Thanks, sorry that was pseudocode. I had that in my init.el. I'm going to go ahead and try ob-ipython because apparently it has better integration with org-mode anyways. – Adam Thompson Apr 28 '16 at 20:47
0

This works out of the box with the new package on Emacs 25 and above.

Usage

  1. 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.

  2. Start the Jupyter notebook server.

  3. (Optional) Newer versions of Jupyter have token authentication_ enabled by default so you will need to call M-x ein:notebooklist-login and enter the token as the password.

  4. Execute M-x ein:notebooklist-open to open notebook list.

Not the answer you're looking for? Browse other questions tagged or ask your own question.