我在Preferences.el
中使用这些行(add-to-list 'load-path "~/Library/Enthought/Canopy_64bit/User/bin")
(require 'python-mode)
(setenv "PYTHONPATH" "~/Library/Enthought/Canopy_64bit/User/bin")
但是当我做C-c C-c时,它仍然是默认的Apple Python(2.7.2而不是2.7.3 EPD)。默认情况下,EPD在终端中运行。谢谢,
答案 0 :(得分:0)
使用此package。并将这些行添加到Preferences.el
中(require 'exec-path-from-shell)
(exec-path-from-shell-initialize)