lang/python/doctor: check pyenv, conda & ipython
This commit is contained in:
parent
036337afa1
commit
a18541851e
1 changed files with 13 additions and 3 deletions
|
@ -3,6 +3,16 @@
|
|||
(unless (executable-find "python")
|
||||
(warn! "Python isn't installed."))
|
||||
|
||||
(when (executable-find "pyenv")
|
||||
(unless (split-string (shell-command-to-string "pyenv versions --bare") "\n" t)
|
||||
(warn! "No versions of python are available via pyenv, did you forget to install one?")))
|
||||
(when (featurep! +pyenv)
|
||||
(if (not (executable-find "pyenv"))
|
||||
(warn! "Couldn't find pyenv in your PATH")
|
||||
(unless (split-string (shell-command-to-string "pyenv versions --bare") "\n" t)
|
||||
(warn! "No versions of python are available via pyenv, did you forget to install one?"))))
|
||||
|
||||
(when (featurep! +conda)
|
||||
(unless (executable-find "conda")
|
||||
(warn! "Couldn't find conda in your PATH")))
|
||||
|
||||
(when (featurep! +ipython)
|
||||
(unless (executable-find "ipython")
|
||||
(warn! "Couldn't find ipython in your PATH")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue