From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: babel python example not reproducible Date: Mon, 16 Jun 2014 11:03:36 -0400 Message-ID: <87egyox566.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwYYC-0004be-J0 for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:10:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwYY7-00085m-EI for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:10:24 -0400 Received: from mail-oa0-f42.google.com ([209.85.219.42]:47777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwYY7-00085W-AI for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 11:10:19 -0400 Received: by mail-oa0-f42.google.com with SMTP id eb12so6019883oac.1 for ; Mon, 16 Jun 2014 08:09:42 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Doyley, Marvin" Cc: emacs-orgmode@gnu.org mdoyley@ur.rochester.edu (Doyley, Marvin) writes: > Hi Shiyuan, > > I think the problem is that Emacs or babel is using python located in > /usr/bin or /usr/local/sbin rather than default python or ipython. The way I got > around this is rename python in these locations to python_old and then did > a soft link to ipython (i.e., ln -s /anaconda/bin/ipython python). > > I am sure there is a smarter way of telling babel to use ipython, but > this was my work around. > See the `org-babel-python-command' variable. > > Hope this help > cheers, > M > > > > -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)