emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: ipython not working in org mode
Date: Wed, 29 Jun 2016 10:58:46 -0400	[thread overview]
Message-ID: <CAFAhFSXo40nSEmyJF9TuGR1N+LVwFzzF=grJuEJNTyCkpbJjZg@mail.gmail.com> (raw)

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

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: 1232 bytes --]

             reply	other threads:[~2016-06-29 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 14:58 Lawrence Bottorff [this message]
     [not found] <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com>
2016-06-29 17:57 ` 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='CAFAhFSXo40nSEmyJF9TuGR1N+LVwFzzF=grJuEJNTyCkpbJjZg@mail.gmail.com' \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).