jupyter-c-kernel
jupyter-c-kernel copied to clipboard
!install_c_kernel
Implementation !install_c_kernel in windows 11 with my notebook resulted in this problem:
'install_c_kernel' is not recognized as an internal or external command, operable program or batch file.
Anyone have solution? Please help me! Thanks a lot!
Disclaimer: I'm not a developer of this software, so my answer might be wrong.
The readme says Works only on Linux and OS X. Windows is not supported yet. If you want to use this project on Windows, please use Docker., so I imagine you're mostly on your own when it comes to getting it to work. I suggest you try and use docker, but I'm afraid I can't help further there.
As to install_c_kernel: this is a python script. On linux, it's available both in .local/bin/, and wherever pip installed jupyter-c-kernel. You can find the latter with the command pip show jupyter-c-kernel. It might work for you to go into that folder and try to run it.
Tks for replying my question. i will try it
it will install on windows as you've mentioned above. the next step is to get the stdout/stderr of the ran process to be messaged back to jupyter.
Jupyter C Kernel is NOT supported on Windows because of these reasons:
gccis not fully supported on Windows. The closest version ofgccfor Windows by MinGW is missingdlfcn.h- which is the header that helps the compiler show the result in Jupyter Notebook/ Jupyter Labinstall_cpp_kernelis the Python file, that runs perfectly on Linux.
If you want to run a C program on Jupyter for Windows, try C++ kernel for Jupyter. Although its target is for C++, but you still can use C here. However, you've to install GCC before installing on Windows.