Questions tagged [ipython]

IPython is an interactive shell for Python.

IPython provides an architecture for interactive computing with featuring:

  • Interactive shells (terminal and Qt-based).
  • A browser-based notebook with support for code, text, mathematical expressions, inline plots and other rich media.
  • Support for interactive data visualization and use of GUI toolkits.
  • Flexible, embeddable interpreters to load into your own projects.
  • Easy to use, high performance tools for parallel computing.

It is available for both python-2.x and python-3.x.

88 questions
41
votes
4 answers

Weird shell output when using IPython 5

I just upgraded to the latest version of IPython and now something is wrong when using it in emacs. When using it in a regular terminal it works fine (colors, tab-completion, etc.), however either in M-x eshell or M-x shell, instead of outputing In…
Literal
  • 675
  • 5
  • 10
39
votes
3 answers

How to set up elpy to use python3?

When setting up my emacs for a new work environment, I am unable to get the elpy configuration to correctly use python 3. I have installed all of the required packages in /usr/local/bin and have installed them using python3. Right now, when I run…
adam
  • 491
  • 1
  • 4
  • 3
15
votes
2 answers

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 (and inputs are runnable?), or only code itself? A…
Curtis
  • 251
  • 2
  • 4
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
8
votes
0 answers

show output from python-shell-send-region

Using python.el and ipython.exe (from Miniconda3), I'd like to highlight a portion of code and execute it in the associated inferior python buffer. Example: #!/usr/bin/python3 myvar = 100+200 ^^^^^^^ (this is my selected region) If I use…
r2evans
  • 245
  • 1
  • 10
7
votes
1 answer

working setup for ipython in babel

Can someone point me to a working setup for using babel with IPython? I'm witnessing strange indentation behavior when I try to define functions. This happens whether or not I specify the --classic flag in org-babel-python-command. My current…
wdkrnls
  • 3,657
  • 2
  • 27
  • 46
6
votes
1 answer

Running two IPython instances at the same time

I'd like to run two instances of IPython in Emacs at the same time, one with Python 2, and the other Python 3: is it something doable or there's something in the way python.el is designed that would prevent it?
cjauvin
  • 594
  • 4
  • 15
6
votes
1 answer

Emacs 24's python.el + ipython cannot complete module names

I'm using Emacs 24.4.1 on OSX (installed with Homebrew), with the built in python.el, and Python 3 (also installed with Homebrew), along with IPython 2.3.0. I have this in my .emacs: (setq python-shell-interpreter "/usr/local/bin/ipython3" …
cjauvin
  • 594
  • 4
  • 15
6
votes
1 answer

Ipython completion in elpy

My elpy uses ipython as the interactive interpreter. It does not, however, emulate ipython's history-informed autocomplete feature (for lack of a better term). That is: within an ipython session launched from the terminal, if you want to execute a…
MathManM
  • 171
  • 3
6
votes
1 answer

Emacs IPython prompt symbol is garbled

I just installed Fedora 24 with Emacs and IPython. When I launched the IPython shell in Emacs, the prompt symbol, which should be "In [1]", is displayed as "^[[?12l^[[?25h". Is there a way to solve this issue?
htcai
  • 61
  • 2
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
5
votes
1 answer

Where is the python.el documentation?

I am using emacs-24.3, which comes with python.el and IPython support out of the box (or so they say). Is there documentation for this mode? Where can I find it?
dmvianna
  • 370
  • 4
  • 21
5
votes
0 answers

list of current variables in a buffer for Python code

I would like to find a way to reproduce the "Workspace" of Matlab or the equivalent "Variables" window of the awesome pudb debugger directly in emacs for python code: it is a window which details the current state of variables, which is particularly…
5
votes
1 answer

Inferior Python shows not output, or input

I have the symptoms described here Input and Output does not show up in python mode, except this happens with python3 as interpreter as well as ipython, and I've tried the suggestions there for fixing ipython and have no improvement. show output…
pauljohn32
  • 151
  • 3
5
votes
1 answer

Dedicated Python Shell?

I just upgraded emacs to 25.3. Before the upgrade when I opened a Python shell, it would ask me whether I wanted a 'dedicated' shell (for the buffer I was in), to which I usually replied 'yes'. Now, I do not have the option. I want a dedicated…
farenorth
  • 211
  • 1
  • 5
1
2 3 4 5 6