Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ipython]

IPython is an interactive shell for Python.

1
vote
2answers
329 views

emacs and anaconda ipython

I'm trying to get Emacs to start ipython from Anaconda. I have two systems which are not identical so figured setting symbolic links in ~/bin/ipython as I have ~/bin/ pre-pended to my $PATH would do ...
4
votes
1answer
159 views

ipython in emacs: Figure windows “not responding” on Windows 7

I am trying to get a good setup to do scientific python on windows 7. To be complete, I am using Anaconda for Python package management, and emacs 25.2 (the native windows build from GNU, not the ...
4
votes
1answer
323 views

Problem of starting a remote ipython console

I want to connect to remote ipython server, and follow the doc of the ipython, I start a ipython server in my server by ipython3 kernel -f ~/.ipython/kernel.json --pprint and I can start a ipython ...
3
votes
1answer
321 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
89 views

Python-Repl issues with TRAMP Mode [windows->Linux]

I have an issue when using python-mode remotely through tramp. I'm trying to use the repl and pass a test function using C-c C-c, however this seems to create a local file at my own computer or ...
6
votes
0answers
2k views

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 ...
4
votes
0answers
153 views

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 ...
4
votes
0answers
130 views

Remove extra prompts in inferior-python-mode with ipython

emacs24.5 -Q M-: (setq python-shell-interpreter "ipython") RET M-x run-python RET Python 3.5.1 (default, Dec 7 2015, 12:58:09) Type "copyright", "credits" or "license" for more information. ...
3
votes
0answers
111 views

Lisp error with elpy under Python 3

I've had my emacs (v. 25.1.1) working with elpy (1.13) under Python 2.7 for a while. I decided to switch to Python 3 recently, and cannot get it to interact with emacs properly. Normally, when I ...
2
votes
0answers
43 views

Disable ipython show output in minibuffer

I am using Ipython 3.6.3 with Emacs(elpy enabled) 25.2.2 on Kubuntu 17.10. I realize that sometimes output of Ipython keep showing at minibuffer, which is very annoying. But, I cannot find the value ...
2
votes
0answers
134 views

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 ...
2
votes
0answers
321 views

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 ...
1
vote
0answers
286 views

debugging: how to optimize a RealGUD workflow

I code in Python and I my workflow uses debuggers (I coded for 8 years in Matlab). I develop numerical simulation codes: most of the time it returns a result, the question is: "Is the result right?" ...
1
vote
0answers
218 views

run python code interactively with emacs 25 on macos

I have always used emacs with python. I generally run my code on the ipython interpreter using C-c C-c. This is my ~/.emacs.d/init.el in ubuntu where everything works fine. (setq python-shell-...
1
vote
0answers
273 views

Is it possible to have IPython qtconsole open as the default python console in Spacemacs?

Whenever I open a Python script in Spacemacs, I do C-c C-p to launch a console embedded - a console that is, by default, actually an iPython console. Here is what I would love to be able to ...
1
vote
0answers
565 views

Python inline plotting

I'd like to start using Emacs (Spacemacs) for my python work, however, a lot of what I do requires me to interact with the data in the IPython REPL, plot inline graphs, etc. For example, I might have ...
1
vote
0answers
131 views

Output of ipython shell much slower than python shell

Even turning off font-lock-mode and set (setq python-shell-font-lock-enable nil), the output of an ipython shell (setq python-shell-interpreter "ipython") seems much slow than the python shell (...
1
vote
0answers
415 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 ...
1
vote
0answers
214 views

Emacs and IPython integration: multiple lines sent

I am using emacs with Anaconda's IPython console: (setq python-shell-interpreter (substitute-in-file-name "$HOME/anaconda3/bin/ipython")) IPython opens after C-c C-p, but always with four empty ...
0
votes
0answers
22 views

IPython Shell magic function %hist outputs lots of junk history

I am using spacemacs with Emacs V26.1, with package elpy, on a Macbook. I believe this also happens on Windows. the issue is when I run the magic function %hist in the IPython shell, i got lots of ...
0
votes
0answers
90 views

Indentation Error when running Ipython shell (emacs/spacemacs, Windows)

I am a relatively new to emacs/spacemacs and my knowledge is quite basic, I have spacemacs set up with the python layer and have the indentation settings as follows: python-indent-offset is set to 4 ...
0
votes
0answers
171 views

Why is emacs telling me that I don't have ipython installed - “Searching for program: no such file or directory, ipython.”

I am a new emacs user and was following the guide here: https://realpython.com/emacs-the-best-python-editor/ In order to set up emacs as my default IDE. I have anaconda installed and updated. I ran ...
0
votes
0answers
168 views

python-mode breaks relative paths within script

I have my python setting within my .emacs (23.1.1) file set up as follows: (setq py-install-directory "~/.emacs.d/python/python-mode.el-6.0.11/") (add-to-list 'load-path py-install-directory) (...
0
votes
0answers
551 views

Auto complete with tab not working in IPython

I installed Emacs for Python (from this github repo) on my Emacs 24.5.1. When I start an IPython shell, auto-complete with tab doesn't work. Instead, the tab key just insert four spaces. But if I ...