unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs uses an old version of python
Date: Mon, 01 Dec 2008 07:00:00 +0100	[thread overview]
Message-ID: <87r64szb8f.fsf@tux.homenetwork> (raw)
In-Reply-To: COL108-W42A2DA72CC60F7434094DCDE060@phx.gbl

John Seales <praxbaffle@hotmail.com> writes:

> GNU emacs 22.1.1
> on an Intel MacBook
>
> I've updated to Python 2.6, but emacs still is using 2.3. This is a problem because I need to use the newer features of the language. Looking in my /usr/bin/ directory, I see that 'python2.3' and 'pythonw2.3' are in there, along with just plain 'python'. Using sudo, I copied 'python2.6' and 'pythonw2.6' into /usr/bin, but still emacs calls the old version. Interestingly, the terminal application correctly uses the new version of python when I run it from there.
>
> I'm guessing I may need to move more files around and/or change my .emacs file. But how?

Hi!
with python-mode i use:

,----[ C-h v py-python-command RET ]
| py-python-command is a variable defined in `python-mode.el'.
| Its value is "ipython"
| 
| Documentation:
| *Shell command used to start Python interpreter.
| 
| You can customize this variable.
| 
| ===*===*===*===*===*===*===*===*===*===*===
`----

for me it's ipython but it can be python2.5 or 6 ...

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





  parent reply	other threads:[~2008-12-01  6:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-30 21:51 emacs uses an old version of python John Seales
2008-11-30 22:34 ` Peter Dyballa
2008-12-01  6:00 ` Thierry Volpiatto [this message]
     [not found] ` <mailman.1595.1228111500.26697.help-gnu-emacs@gnu.org>
2008-12-01  8:26   ` Richard Riley
     [not found] <mailman.1577.1228082753.26697.help-gnu-emacs@gnu.org>
2008-12-01  0:52 ` Xah Lee

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r64szb8f.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=help-gnu-emacs@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.
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).