emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: Naupaka Zimmerman <naupaka@gmail.com>,
	emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: ipython not working in org mode
Date: Wed, 29 Jun 2016 13:57:39 -0400	[thread overview]
Message-ID: <CAFAhFSUN1wk2gftEs7d7j2OmkU8aoWsQQ682sgBtU_UbRXw9cQ@mail.gmail.com> (raw)
In-Reply-To: <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1802 bytes --]

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 <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 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 <borgauf@gmail.com>
>> To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
>> Subject: [O] ipython not working in org mode
>> Message-ID:
>>         <CAFAhFSXo40nSEmyJF9TuGR1N+LVwFzzF=
>> 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
>>
>

[-- Attachment #2: Type: text/html, Size: 2769 bytes --]

       reply	other threads:[~2016-06-29 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com>
2016-06-29 17:57 ` Lawrence Bottorff [this message]
2016-06-29 14:58 ipython not working in org mode Lawrence Bottorff

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFAhFSUN1wk2gftEs7d7j2OmkU8aoWsQQ682sgBtU_UbRXw9cQ@mail.gmail.com \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=naupaka@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/org-mode.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).