From mboxrd@z Thu Jan 1 00:00:00 1970 From: mdoyley@ur.rochester.edu (Doyley, Marvin) Subject: Re: babel python example not reproducible Date: Mon, 16 Jun 2014 10:35:33 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwY12-0005Kh-6K for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 10:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwY0t-00035p-QP for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 10:36:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:59358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwY0t-00035g-KN for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 10:35:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WwY0k-0001YE-29 for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 16:35:50 +0200 Received: from davinci.ece.rochester.edu ([128.151.164.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jun 2014 16:35:50 +0200 Received: from mdoyley by davinci.ece.rochester.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jun 2014 16:35:50 +0200 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: emacs-orgmode@gnu.org 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. Hope this help cheers, M