python - Set PYTHONPATH in Emacs on MacOS? -
emacs not recognize correct python path. think general problem emacs not recognizing environment variables. have gnu emacs 22.1.1 (i386-apple-darwin8.9.1, carbon version 1.6.0) of 2007-06-17 installed.
i have set pythonpath
in ~/.bashrc
. maybe should set somewhere else?
.bashrc
gets read when shell starts; won't affect carbon emacs. instead, use setenv
in .emacs
:
(setenv "pythonpath" "path_string_here")
you can set pythonpath
entire mac os session, adding ~/.macosx/environment.plist
(more here). don't want unless have xcode (and property list editor) installed.
Comments
Post a Comment