PYMACS-LOAD不会从PYMACS-LOAD-PATH变量的路径上加载Python模块



我的模块名为qwe.py in〜/

执行下一行:

(setq pymacs-load-path (list "~/"))
(pymacs-load "qwe")

返回错误:

    Debugger entered--Lisp error: (error "Pymacs loading qwe...failed")
  signal(error ("Pymacs loading qwe...failed"))
  pymacs-report-error("Pymacs loading %s...failed" "qwe")
  (cond (lisp-code (let ((result (eval lisp-code))) (message "Pymacs loading %s...done" module) result)) (noerror (message "Pymacs loading %s...failed" module) nil) (t (pymacs-report-error "Pymacs loading %s...failed" module)))
  (let ((lisp-code (pymacs-call "pymacs_load_helper" module prefix))) (cond (lisp-code (let ((result (eval lisp-code))) (message "Pymacs loading %s...done" module) result)) (noerror (message "Pymacs loading %s...failed" module) nil) (t (pymacs-report-error "Pymacs loading %s...failed" module))))
  pymacs-load("qwe")
  (progn (pymacs-load "qwe"))
  eval((progn (pymacs-load "qwe")) t)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

如果在/usr/lib/python2.7中复制qwe.py。我在做什么错?

pymacs 0.25

emacs 24.2

在pymacs.el中更改了此变量,它正在工作,赦免:)

我应该在pymacs.el

中更改此变量

最新更新