I want to use python in spacemacs on window OS, and need to tell it where to find python shell. So I added one line of
(setq-default python-shell-interpreter "C:\Anaconda\Scripts\ipython.exe")
But when restart the spacemacs, it won't start up as spacemacs, instead it's like normal emacs without spacemacs installed. But if I remove that line, I could get the spacemacs screen, so how should I set the variable in spacemacs init file?
(defun dotspacemacs/init () "Initialization function. This function is called at the very startup of Spacemacs initialization before layers configuration." ;; This setq-default sexp is an exhaustive list of all the supported ;; spacemacs settings. dotspacemacs-default-package-repository nil) ;; User initialization goes here (setq-default python-shell-interpreter "C:\Anaconda\Scripts\ipython.exe") )