emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pierre de Buyl <pdebuyl@ulb.ac.be>
To: David Trem <david.trem@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to set python version for org-babel
Date: Thu, 28 Jan 2010 16:28:56 +0100	[thread overview]
Message-ID: <DE725924-FB40-4B7A-A21E-045FE45A799A@ulb.ac.be> (raw)
In-Reply-To: <4B61AABC.4080200@gmail.com>

Hello,

Can you specify which version of Emacs you are using ?

I anticipate one of the aqua version: you need to set manually the  
path accessible to GUI apps in OS X: this is done by editing the file  
~/.MacOSX/environment.plist and adjust the path therein.

After you add the path to the macports executable directory (before "/ 
usr/bin" directory) the python command that is present there (if  
there is a python there, check with "which python" in a terminal)  
will be given priority.

HTH, and do not hesitate to ask for more details if needed,

Pierre

Le 28 janv. 10 à 16:18, David Trem a écrit :

> 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

  reply	other threads:[~2010-01-28 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 15:18 How to set python version for org-babel David Trem
2010-01-28 15:28 ` Pierre de Buyl [this message]
2010-01-28 17:11 ` Eric Schulte
2010-01-28 17:55   ` David Trem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DE725924-FB40-4B7A-A21E-045FE45A799A@ulb.ac.be \
    --to=pdebuyl@ulb.ac.be \
    --cc=david.trem@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).