Questions tagged [jupyter]

Jupyter Notebook is a web-based interactive computational environment for creating Jupyter notebook documents, which contain both code and rich text elements such as text, equations, figures.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Why Jupyter console sometimes decide to output sometimes don't?

Problem I don't know why my Jupyter console sometimes doesn't output anything. An example is this: Notice that only the first line gets its output. I use C-enter to execute each line. Line 2, 3, 4, ...
1
vote
1answer
36 views

run Emacs remotely in a webpage?

I am just curious: Is there a way to run Emacs remotely from a webpage? For example, one can set up a JupyterHub on a Ubuntu server so that many users can access server programs from a webpage. Can ...
2
votes
0answers
61 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 ...
0
votes
1answer
27 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 ...
0
votes
0answers
30 views

Convert files after visiting and before saving

There are a few different tools out there to convert Jupyter notebooks (which are JSON files) to plain text formats and vice-versa. For instance, pandoc converts to org-mode or markdown, and jupytext ...
0
votes
0answers
37 views

emacs-jupyter debugging and realgud

emacs-jupyter supports pdb by displaying the pdb prompt in a minibuffer. I have a feeling that I should be able to connect to it with realgud:pdb, similarly to how I can realgud:track-mode-enable in ...
0
votes
2answers
301 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:...
0
votes
0answers
28 views

emacs 26 orgmode on win10 can not find jupyter

I am using emacs26(GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)) on win10. I can run jupyter command from shell. but when I run below code: #+BEGIN_SRC ipython :session test :results output print("...
0
votes
0answers
48 views

emacs display anomaly in Jupyter notebook terminal

When I use emacs in Jupyter hub terminal to edit a file, emacs seems to always insert an extra sequence of characters: 0;276;0c before the actual content. Also, after exiting emacs, the terminal ...
1
vote
0answers
25 views

Shift key does not fully work in Juypter Notebook's terminal

The Shift key sometimes does not seem to work in emacs, when emacs is launched in Jupyter Notebook's terminal (in non-window mode). Other meta keys such as Ctrl and Alt on a PC keyboard work as usual. ...
0
votes
0answers
59 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 ...
10
votes
2answers
2k views

Integrating jupyter notebook (ipython) into org-mode notebook

is there a way I can link in jupyter notebooks (ipython) into the org-mode notebook? The same way other files (images) can be brought in? If it is possible will the outputs are also seen in the note (...
1
vote
1answer
522 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... ...
3
votes
1answer
754 views

ob-ipython error message while evaluating SRC block

I am getting this error when executing any source ipython block such as this one: #+BEGIN_SRC ipython :session :results output drawer # Compute areas and colors import numpy as np import matplotlib....
1
vote
1answer
149 views

org-mode backend: how to find tags of enclosing headline?

I am trying to write on org-mode backend to generate Jupyter Notebook, specifically optimized for producing slides using RISE (see https://github.com/hkarl/org-juslides if interested). Suppose I ...