From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre de Buyl Subject: Re: How to set python version for org-babel Date: Thu, 28 Jan 2010 16:28:56 +0100 Message-ID: References: <4B61AABC.4080200@gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaWJ3-0006jM-US for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 10:29:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaWIz-0006ft-Nk for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 10:29:17 -0500 Received: from [199.232.76.173] (port=51503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaWIz-0006fl-Co for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 10:29:13 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:58582) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaWIy-000499-SP for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 10:29:13 -0500 In-Reply-To: <4B61AABC.4080200@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Trem Cc: emacs-orgmode@gnu.org Hello, Can you specify which version of Emacs you are using ? I anticipate one of the aqua version: you need to set manually the =20 path accessible to GUI apps in OS X: this is done by editing the file =20= ~/.MacOSX/environment.plist and adjust the path therein. After you add the path to the macports executable directory (before "/=20= usr/bin" directory) the python command that is present there (if =20 there is a python there, check with "which python" in a terminal) =20 will be given priority. HTH, and do not hesitate to ask for more details if needed, Pierre Le 28 janv. 10 =E0 16:18, David Trem a =E9crit : > Hi, > > I'm currently learning org-babel with python. > I have several version of python installed on my Mac. > One from apple and two from macports. > I'd like to use python2.6 from macports. > I tried to set the python-python-command variable to python2.6 > but the python 2.5 from apple is still used by org-babel. > > I need some help to go forward. > > Thanks in advance, > > David > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode