图片.png

Error code

  1. Traceback (most recent call last):
  2. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\web.py", line 1704, in _execute
  3. result = await result
  4. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\gen.py", line 769, in run
  5. yielded = self.gen.throw(*exc_info) # type: ignore
  6. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\notebook\services\sessions\handlers.py", line 69, in post
  7. model = yield maybe_future(
  8. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\gen.py", line 762, in run
  9. value = future.result()
  10. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\gen.py", line 769, in run
  11. yielded = self.gen.throw(*exc_info) # type: ignore
  12. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 98, in create_session
  13. kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
  14. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\gen.py", line 762, in run
  15. value = future.result()
  16. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\gen.py", line 769, in run
  17. yielded = self.gen.throw(*exc_info) # type: ignore
  18. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 110, in start_kernel_for_session
  19. kernel_id = yield maybe_future(
  20. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\tornado\gen.py", line 762, in run
  21. value = future.result()
  22. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 176, in start_kernel
  23. kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))
  24. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\jupyter_client\multikernelmanager.py", line 186, in start_kernel
  25. km.start_kernel(**kwargs)
  26. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\jupyter_client\manager.py", line 341, in start_kernel
  27. self.kernel = self._launch_kernel(kernel_cmd, **kw)
  28. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\jupyter_client\manager.py", line 249, in _launch_kernel
  29. return launch_kernel(kernel_cmd, **kw)
  30. File "C:\Users\Administrator\.julia\conda\3\lib\site-packages\jupyter_client\launcher.py", line 132, in launch_kernel
  31. proc = Popen(cmd, **kwargs)
  32. File "C:\Users\Administrator\.julia\conda\3\lib\subprocess.py", line 951, in __init__
  33. self._execute_child(args, executable, preexec_fn, close_fds,
  34. File "C:\Users\Administrator\.julia\conda\3\lib\subprocess.py", line 1420, in _execute_child
  35. hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  36. FileNotFoundError: [WinError 2] 系统找不到指定的文件。

解决方案

Julia终端按]安装IJulia,add IJulia,然后build IJulia
using IJulia
notebook()

也有可能你选择的Julia版本已经被你删除!!!