Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!install_c_kernel #80

Open
GeneralHawking18 opened this issue Oct 14, 2021 · 4 comments
Open

!install_c_kernel #80

GeneralHawking18 opened this issue Oct 14, 2021 · 4 comments

Comments

@GeneralHawking18
Copy link

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!

@vlipiainen
Copy link

vlipiainen commented Oct 25, 2021

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.

@GeneralHawking18
Copy link
Author

Tks for replying my question. i will try it

@jameswdelancey
Copy link

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.

@shiroinekotfs
Copy link

shiroinekotfs commented Aug 9, 2023

Jupyter C Kernel is NOT supported on Windows because of these reasons:

  • gcc is not fully supported on Windows. The closest version of gcc for Windows by MinGW is missing dlfcn.h - which is the header that helps the compiler show the result in Jupyter Notebook/ Jupyter Lab
  • install_cpp_kernel is 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.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants