gregsexton / ob-ipython

org-babel integration with Jupyter for evaluation of (Python by default) code blocks
739 stars 109 forks source link

ob-ipython; emacs cannot find ipython #52

Closed lplatter closed 8 years ago

lplatter commented 8 years ago

Hi, I am running emacs on mac os. I have org mode installed and I am using python and ipython from mac ports. I added the relevant path to my .emacs file. I can also execute python code in org mode. However, I get the following message when trying to execute a code block

Searching for program: no such file or directory, ipython

I would be thankful for some help.

lplatter commented 8 years ago

Ok, this was an emacs issue that was solved by adding

(setq exec-path (append exec-path '("/opt/local/bin")))

to my .emacs file.