Search code examples
windowsjupyter-notebookinstallationracketraco

iracket can't find jupyter, even though it's already installed


When trying to install the iracket kernel, it throws

cannot find jupyter executable

I already put python and racket in the PATH, I don't know if it helps but when entering the command raco iracket check it throws me

IRacket install-history file: "C : \\ Users \\ lenovo \\ AppData \\ Roaming \\ Racket \\ iracket.rktd "
  file exists ?: no
Cannot find jupyter executable.

my computer is windows 10. i use pip to install jupyter


Solution

  • The iracket install command needs to run the jupyter.exe command to find the directory where Jupyter kernels are stored. So you need to find where pip installed jupyter.exe and then add the directory containing jupyter.exe to your PATH, or you need to run the iracket install script with raco iracket install --jupypter-exe path-to-jupyter.exe.