Questions tagged [ein]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

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 ...
Daniel Krajnik's user avatar
0 votes
0 answers
44 views

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 ...
Daniel Krajnik's user avatar
0 votes
1 answer
73 views

How to create a blank Jupyter notebook using ein?

I am using ein package in Emacs, and everything works fine when I use an existing Jupyter file. However, when I create a new .ipynb file (with C-x C-f), I get a blank buffer which doesn't have any ...
Morzen's user avatar
  • 101
0 votes
1 answer
239 views

Org and EIN (IPython): No output for print

I am using EIN in Org blocks, as explained on the GitHub page for EIN. So I use ein-python as the language for Org blocks (instead of python). All seems to work well (for example displaying data from ...
Giuseppe's user avatar
  • 455
2 votes
1 answer
623 views

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 :...
Manuel Teodoro's user avatar
1 vote
0 answers
117 views

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 ...
Jonathan's user avatar
2 votes
0 answers
440 views

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 ...
alpresci's user avatar
0 votes
0 answers
29 views

how to check if a babel block finished the execution

I am searching for a piece of emacs-lisp code that checks if an emacs-babel block finished its execution. I am trying to write smth like (while (babel-block not finished its execution) (sleep-...
mhass's user avatar
  • 11
0 votes
1 answer
102 views

Elisp to get the language mode for the current ein cell?

When I'm using ein to run a python jupyter notebook, the major-mode variable is just "ein:notebook-multilang-mode" which makes it ambiguous what the current language is. I have elisp that only ...
Joseph Garvin's user avatar
2 votes
1 answer
257 views

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 ...
Joseph Garvin's user avatar
0 votes
2 answers
536 views

ein login error due to curl version not support compressed

I am using win10, emacs version is GNU Emacs 26.3. python version is Python3.6.8. After install EIN (EIN version is 20190813.2156) package and try to run M-x ein:login, I got below error message: ein:...
lucky1928's user avatar
  • 1,644
0 votes
0 answers
91 views

jedi with ein does not work

While Jedi works in python mode, it does not in ein (jupyter-notebook). If I run jedi:setup manually, both of jedi and auto-complete get listed among minor modes. I use emacs 25.1.1 on Debian. I use ...
biohegedus's user avatar
0 votes
0 answers
150 views

ein: [info] Failed to save notebook

I'm using Windows 10, Emacs 26.1, IPython 7.2.0, and ein 20190228.2008. C-x C-s gives the error: ein: [info] Failed to save notebook! . I'm able to save the files through the web interface. As per #...
troisquatre's user avatar
2 votes
1 answer
2k views

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... ...
slackline's user avatar
  • 313
1 vote
0 answers
33 views

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 ...
crlb's user avatar
  • 111
3 votes
0 answers
254 views

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 ...
manandearth's user avatar
  • 2,108
0 votes
3 answers
1k views

ein failed to login to 8888

I was using emacs-ipython-notebook for data visualisation for some days.But then I started getting the error -ein failed to login to 8888.I checked my ipyhton notebook server and it's running on ...
james.bondu's user avatar
3 votes
1 answer
173 views

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 ...
Cousin Dupree's user avatar
0 votes
1 answer
800 views

problem generating python plots

I am very new to emacs and I can't figure out why my plots doesn't appear, I have ein and elpy installed, my code runs but I just can't see the plot. I installed the packages in M-x list-packages. ...
Renan Tardelli's user avatar
0 votes
2 answers
1k views

Can't use Emacs IPython Notebook? [duplicate]

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 ...
Adam Thompson's user avatar
1 vote
0 answers
663 views

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 ...
Michael's user avatar
  • 111
2 votes
0 answers
584 views

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))...
user3014097's user avatar
6 votes
2 answers
1k views

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, ...
user3014097's user avatar
1 vote
1 answer
2k views

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/...
Javier's user avatar
  • 197
11 votes
3 answers
3k views

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) ...
El Diego Efe's user avatar
  • 1,611