You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assume that python is somewhere on the system's executable path. I don't think this is a good idea, as e.g. on my NixOS system, this is not the case, and I want to specify an executable relative to the current file.
Note that the corresponding code which gets called for org-babel-python functionality adds the current directory to the lookup path before resolving the command (this is deep down in comint.el)
(let ((exec-path (if (and command (file-name-directory command))
;; If the command has slashes, make sure we
;; first look relative to the current directory.
(cons default-directory exec-path) exec-path)))
Since ob-ipython does not seem to travel that code path, I think it makes sense to copy that behavior.
The text was updated successfully, but these errors were encountered:
These lines
ob-ipython/ob-ipython.el
Lines 169 to 172 in a0ae4ad
assume that python is somewhere on the system's executable path. I don't think this is a good idea, as e.g. on my NixOS system, this is not the case, and I want to specify an executable relative to the current file.
Note that the corresponding code which gets called for org-babel-python functionality adds the current directory to the lookup path before resolving the command (this is deep down in
comint.el
)Since ob-ipython does not seem to travel that code path, I think it makes sense to copy that behavior.
The text was updated successfully, but these errors were encountered: