无法在Aquamacs OSX 10.8中设置Python路径
我在我的首选项中使用了这些行无法在Aquamacs OSX 10.8中设置Python路径,python,macos,environment-variables,Python,Macos,Environment Variables,我在我的首选项中使用了这些行 (add-to-list 'load-path "~/Library/Enthought/Canopy_64bit/User/bin") (require 'python-mode) (setenv "PYTHONPATH" "~/Library/Enthought/Canopy_64bit/User/bin") (require 'exec-path-from-shell) (exec-path-from-shell-initialize) 但当我使用C-C-
(add-to-list 'load-path "~/Library/Enthought/Canopy_64bit/User/bin")
(require 'python-mode)
(setenv "PYTHONPATH" "~/Library/Enthought/Canopy_64bit/User/bin")
(require 'exec-path-from-shell)
(exec-path-from-shell-initialize)
但当我使用C-C-C时,它仍然使用默认的Apple Python(2.7.2而不是2.7.3 EPD)。默认情况下,EPD正在终端中运行。谢谢,用这个。并将这些行添加到Preferences.el中
(add-to-list 'load-path "~/Library/Enthought/Canopy_64bit/User/bin")
(require 'python-mode)
(setenv "PYTHONPATH" "~/Library/Enthought/Canopy_64bit/User/bin")
(require 'exec-path-from-shell)
(exec-path-from-shell-initialize)