0
我有一個名爲模塊qwe.pypymacs負荷不從可變pymacs的負載路徑的路徑加載python模塊
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
是的,我有(手動到「/ home/sergeek /」)。無論如何,這已經不重要了,我應該更仔細地閱讀[this](http://pymacs.progiciels-bpi.ca/pymacs.html#pymacs-load-path),謝謝。 – sergeek