From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: ipython not working in org mode Date: Wed, 29 Jun 2016 13:57:39 -0400 Message-ID: References: <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113acb3445f15105366e7dcf Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJk6-0000WK-Up for emacs-orgmode@gnu.org; Wed, 29 Jun 2016 13:57:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIJk4-0004tg-HP for emacs-orgmode@gnu.org; Wed, 29 Jun 2016 13:57:41 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:36108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJk4-0004tX-AQ for emacs-orgmode@gnu.org; Wed, 29 Jun 2016 13:57:40 -0400 Received: by mail-ob0-x22f.google.com with SMTP id mu6so36722997obc.3 for ; Wed, 29 Jun 2016 10:57:40 -0700 (PDT) In-Reply-To: <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Naupaka Zimmerman , emacs-orgmode Mailinglist --001a113acb3445f15105366e7dcf Content-Type: text/plain; charset=UTF-8 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 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 >> To: emacs-orgmode Mailinglist >> Subject: [O] ipython not working in org mode >> Message-ID: >> > grJuEJNTyCkpbJjZg@mail.gmail.com> >> 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 >> > --001a113acb3445f15105366e7dcf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Not sure I know how to "change python-shell-interpret= er to python from ipython." I did the change to the ob-ipython.el sugg= ested -- with no improvement. . .=C2=A0
On Wed, Jun 29, 2016 at 12:52 PM, Naupaka Zimme= rman <naupaka@gmail.com> 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 j= ust 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 <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: [O] ipython not working in org mode
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAFAhFSXo40nSEmyJF9TuGR1N+LVwFzzF=3DgrJuEJNTyCkp= bJjZg@mail.gmail.com>
Content-Type: text/plain; charset=3D"utf-8"

I've followed everything here (https://github.com/gregse= xton/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
=C2=A0 %matplotlib inline
=C2=A0 import matplotlib.pyplot as plt
=C2=A0 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

--001a113acb3445f15105366e7dcf--