Questions tagged [ein]
25 questions
11
votes
3 answers
Emacs EIN vs IPython shell
I'm trying to make EIN work within Emacs, but right now (with IPython 2) it seems that it's not possible. This errors arise:
REQUEST [error] Error from parser ein:json-read: (json-readtable-error)
ein: [error] Error (parse-error) while opening…

El Diego Efe
- 1,601
- 1
- 19
- 24
6
votes
2 answers
Emacs Ipython Notebook - What is determining inline plot background?
I have been trying to figure out what attribute is setting the background for inline plots in EIN. The background for the plot seems to always take the default background color for my color theme, even though I'm changing the default background…

user3014097
- 253
- 1
- 4
3
votes
0 answers
collapse input cell in ein
I am using ein with emacs 25-3.
As some of the cells I am writing contain classes definitions, I would like to be able to collapse them to show only the first line.
I know output cells can be toggled on and off with C-c C-e But I need to the input…

manandearth
- 2,068
- 1
- 11
- 23
3
votes
1 answer
ein + ipython non-responsive with python 'raw_input'
I am using Emacs with the ein package to edit ipython files. Everything works fine except when I have a line like:
fhandle = raw_input('enter your file name: ')
to prompt for a file name. The ipython subprocess that is running inside Emacs stops…

Cousin Dupree
- 358
- 3
- 12
2
votes
1 answer
ein org mode results raw drawer
I am trying to use ein with org-mode in emacs but I am having problems with exporting the results. Here is a very simple example:
#+BEGIN_SRC ein-python :session localhost :results raw drawer :exports both
import pandas as pd
x =…

Manuel Teodoro
- 23
- 2
2
votes
0 answers
flycheck - elpy - flake8 - ein and .ipynb files
I have set up Emacs (on Mac Catalina) with Elpy to handle Python.
I also managed to get Jupyter notebooks (.ipynb files) working with Elpy via Ein.
Both .py and .ipynb compile and use Flycheck correctly.
I have problems with .ipynb notebooks:
I…

alpresci
- 21
- 3
2
votes
1 answer
How do I get ein to find conda packages?
I'm trying to use ein to edit a jupyter notebook. I used conda to install the 'turicreate' package in a virtual environment and activated it. When I run the regular browser based jupyter notebook command everything works. Only inside ein does it not…

Joseph Garvin
- 2,061
- 8
- 21
2
votes
1 answer
EIN : Width of output cells in notebook
I'm using ein to view and work with Jupyter Notebooks.
I'd like to be able to set the cell width to that of the window so that text wraps as little as possible. In a browser this can be done with...
from IPython.core.display import display,…

slackline
- 293
- 3
- 14
2
votes
0 answers
init error: file missing - cl-generic after any time I edit settings.org file
I am using org mode to organize my various Emacs settings. Within my init.el file I just have (taking out initial comments):
;;; Code:
(package-initialize)
(eval-when-compile
(require 'use-package))
(org-babel-load-file
(expand-file-name…

user3014097
- 253
- 1
- 4
1
vote
1 answer
Error when opening IPython notebook list using EIN
I am not entirely sure where to post this question (here, stackoverflow....), but I am sure some emacs experts will be able to help me here. This question is also posted here https://github.com/tkf/emacs-ipython-notebook/issues/158 , so the reader…

Javier
- 197
- 1
- 9
1
vote
0 answers
Displaying markdown in EIN
I've recently started working with EIN, and I have it mostly working now (sans autocompletion unfortunately...).
There's still something I'm struggling with which I'm not sure is even possible: is there a way to execute a markdown cell in a way that…

Jonathan
- 11
- 2
1
vote
0 answers
Weird autocompletion when writing a decimal number in helm-mode
I am using Emacs Prelude with Helm activated. While using Emacs IPython Notebook and julia-mode, I get an annoying auto-complete buffer pop up, when I am trying to type a decimal number, see figure below. how to stop this weird behavior?

crlb
- 111
- 2
1
vote
0 answers
How can I get completion and tooltips based on company mode in Emacs Ipython Notebook?
I am using Emacs 24.5.1 and John Miller's fork of the Emacs IPython Notebook (EIN) client. The documentation indicates support for auto-completion based on auto-complete mode. As I am a company-mode user, I would like to use this mode for…

Michael
- 111
- 2
0
votes
1 answer
async/await in emacs?
I'm trying to run a hook that should start after buffers are loaded - it hooks into ein package that starts an "ipython server" that takes some time to start and it seems that the subsequent functions don't "await" for it.
Which makes me wonder if…

Daniel Krajnik
- 94
- 7
0
votes
0 answers
How to wait for buffers to load?
I'm trying to create a hook for ein package that will clean up split windows and focus on the rendered buffer. The package provides one hook (called ein:ipynb-mode-hook), but running functions below doesn't work - it seems like the buffers are not…

Daniel Krajnik
- 94
- 7