From: fgallina@gnu.org (Fabián Ezequiel Gallina)
To: Aron Lagerberg <aronlagerberg@gmail.com>
Cc: 19904@debbugs.gnu.org
Subject: bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work
Date: Sat, 21 Feb 2015 14:12:13 -0300 [thread overview]
Message-ID: <87lhjr5guq.fsf@gnu.org> (raw)
In-Reply-To: <CAM82RhD+8rmLTY_4pN6bKM-2XStZMSXe+7uFxbgZi4PuMcQ9iw@mail.gmail.com> (Aron Lagerberg's message of "Thu, 19 Feb 2015 18:32:57 +0100")
Aron Lagerberg <aronlagerberg@gmail.com> writes:
> Hi all!
>
> I'm having trouble getting IPython to work with emacs 24.4 under windows
> 7 (on my linux laptop, it works out-of-the-box). When using ipython and
> running
> 'run-python' I see the IPython interpreter loaded. I get no 'in' prompt,
> but when writeing for instance '2+4' and hitting enter, I get 'Out [1]:
> 6'. When typing 'print("foo")', hitting enter produces nothing. But,
> after running 'quit()' I see 'In [5]: foo'. There seems to be something
> wrong in how emacs is handling the IPython output. How can I fix this?
> Where can I start to look? Which file is responsible for the interaction
> between the ipython output and emacs buffer?
>
> I'm at a loss here and would apriceate any help. Thank you in advance! :)
>
> Best regards,
>
> Aron
Hi Aron,
Have you tried following this comment from python.el's header:
;; Running IPython on Windows needs more tweaking. The way you should
;; set `python-shell-interpreter' and `python-shell-interpreter-args'
;; is as follows (of course you need to modify the paths according to
;; your system):
;; (setq python-shell-interpreter "C:\\Python27\\python.exe"
;; python-shell-interpreter-args
;; "-i C:\\Python27\\Scripts\\ipython-script.py")
If not, please give it a go and let me know if it worked.
Cheers,
Fabián.
next prev parent reply other threads:[~2015-02-21 17:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 17:32 bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Aron Lagerberg
2015-02-21 17:12 ` Fabián Ezequiel Gallina [this message]
2015-02-21 21:45 ` Fabián Ezequiel Gallina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhjr5guq.fsf@gnu.org \
--to=fgallina@gnu.org \
--cc=19904@debbugs.gnu.org \
--cc=aronlagerberg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).