* ipython not working in org mode
@ 2016-06-29 14:58 Lawrence Bottorff
0 siblings, 0 replies; 2+ messages in thread
From: Lawrence Bottorff @ 2016-06-29 14:58 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ipython not working in org mode
[not found] <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com>
@ 2016-06-29 17:57 ` Lawrence Bottorff
0 siblings, 0 replies; 2+ messages in thread
From: Lawrence Bottorff @ 2016-06-29 17:57 UTC (permalink / raw)
To: Naupaka Zimmerman, emacs-orgmode Mailinglist
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-29 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29 14:58 ipython not working in org mode Lawrence Bottorff
[not found] <33B6812F-5DCF-43B6-8E1F-33DB2A1DF93C@gmail.com>
2016-06-29 17:57 ` Lawrence Bottorff
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.