Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions ob-ipython.el
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,9 @@ can be displayed.")
(apply 'start-process name buf (car cmd) (cdr cmd))))

(defun ob-ipython--get-python ()
(locate-file (if (eq system-type 'windows-nt)
"python.exe"
(or python-shell-interpreter "python"))
exec-path))
(let ((buf ( or python-shell-interpreter "python")))
;; (message buf)
(locate-file buf exec-path)))

(defun ob-ipython--create-kernel (name &optional kernel)
(when (and (not (ignore-errors (process-live-p (get-process (format "kernel-%s" name)))))
Expand Down