Hi Will,

Thanks for the example. This makes conda + Org work better than it has for me 
in the past. Unfortunately, one major issues is editing and running code 
outside of Org via (org-edit-special). Perhaps elpy will support conda 
environments soon.

On 2016-05-18 at 23:37, William Henney <when...@gmail.com> wrote:
> #+BEGIN_SRC python :python ~/anaconda/envs/myenv/bin/python :results
> verbatim
> import sys
> return sys.path
> #+END_SRC

Anyway, for those of us using IPython, the following also works:

#+BEGIN_SRC python :python ./myenv/bin/ipython --pylab=osx --pdb --nosep 
--classic --no-banner --no-confirm-exit
print(np.__version__)
#+END_SRC

  -k.

Reply via email to