emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ipython not working in org mode


From: Lawrence Bottorff
Subject: Re: [O] ipython not working in org mode
Date: Wed, 29 Jun 2016 13:57:39 -0400

Not sure I know how to "change python-shell-interpreter to python from ipython." I did the change to the ob-ipython.el suggested -- with no improvement. . . 

On Wed, Jun 29, 2016 at 12:52 PM, Naupaka Zimmerman <address@hidden> wrote:
Hi Lawrence -

The fix on this page worked for me:
https://github.com/gregsexton/ob-ipython/issues/63

I had to change python-shell-interpreter to python from ipython. It's just a temporary fix until they update the codebase. Hope that helps...

Best,
Naupaka

Date: Wed, 29 Jun 2016 10:58:46 -0400
From: Lawrence Bottorff <address@hidden>
To: emacs-orgmode Mailinglist <address@hidden>
Subject: [O] ipython not working in org mode
Message-ID:
        <CAFAhFSXo40nSEmyJF9TuGR1N+LVwFzzF=address@hidden>
Content-Type: text/plain; charset="utf-8"

I've followed everything here (https://github.com/gregsexton/ob-ipython) in
order to set up ipython in org mode. But I keep getting the error:

...executing Ipython code block...
apply: Searching for program: no such file or directory, ipython

when I try the sample code block

#+BEGIN_SRC ipython :session myip
  %matplotlib inline
  import matplotlib.pyplot as plt
  import numpy as np
#+END_SRC

Other samples don't work either. I've gotten ipython from Enthought, which
should have all the necessities. Starting ipython from my (Ubuntu) terminal
brings up:

Python 2.7.11 | 64-bit | (default, Jun 11 2016, 10:32:30)
Type "copyright", "credits" or "license" for more information.
IPython 4.1.2 -- An enhanced Interactive Python.
...
as it is on my path. I even installed exec-path-from-shell to make sure
Emacs would see my path. Not sure how to proceed.

LB


reply via email to

[Prev in Thread] Current Thread [Next in Thread]