[Python-modules-team] Bug#469932: It dose not work..

luckyrand lucky.random at gmail.com
Sun Jan 11 13:48:23 UTC 2009


I'm sorry to say that it seems do not work for me.
I installed 
  aptitude -t experimental ipython
and add 
 (require 'ipython)
to .emacs file. Then, emacs complained that:
File error: Cannot open load file, python-mode
However, the package python-mode is not installed.

I find these code in the file /usr/share/emacs/site-lisp/ipython.el:

(if (not (executable-find ipython-command))
    (message (format "Can't find executable %s - ipython.el *NOT*
activated!!!"
                     ipython-command))
    ;; XXX load python-mode, so that we can screw around with its
variables
    ;; this has the disadvantage that python-mode is loaded even if no
    ;; python-file is ever edited etc. but it means that `py-shell'
works
    ;; without loading a python-file first. Obviously screwing around
with
    ;; python-mode's variables like this is a mess, but well.
    (require 'python-mode)
    ;; turn on ansi colors for ipython and activate completion
    (defun ipython-shell-hook ()

=====Some info=====

emacs:
GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-11-10 on raven, modified by Debian

package info:
emacs   Version: 22.2+2-5
ipython Version: 0.9.1-1
python  Version: 2.5.2-3






More information about the Python-modules-team mailing list