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

How to install the kernel? #9

Open
shytikov opened this issue Sep 24, 2019 · 2 comments
Open

How to install the kernel? #9

shytikov opened this issue Sep 24, 2019 · 2 comments

Comments

@shytikov
Copy link

Hey guys,

Thank you for your effort! Was dreaming about getting C# to Jupyter. However I just cannot get HOW to install your kernel. Really. Sorry for giving this question, but I have read your documentation through and through, and it leads me nowhere. Please assist!

Jupyter installed:

pip install --upgrade pip
pip install jupyter

Jupyter started:
jupyter notebook

I cannot enter more commands, so I closed it. Checking list of available kernels:

jupyter kernelspec list

Your is not in the list (of course! How it should be there? By magic?)

All next commands predictably fail:

jupyter kernelspec install kernel-spec --name=csharpcore

So, how I can get your kernel? Many thanks in advance for any help!

@Oceania2018
Copy link
Member

Try to the docker container, out of box solution. https://github.com/SciSharp/SciSharpCube

@ZeVS777
Copy link

ZeVS777 commented Oct 15, 2019

For windows users:

  1. copy project from git to some COPY_FOLDER
  2. run "dotnet publish -c Release" from COPY_FOLDER/ICSharpCore/src/ICSharpCore directory
  3. copy all files from the build directory (something like ./bin/Release/netcoreapp2.2) to SOME_PATH
  4. in COPY_FOLDER/ICSharpCore/kernel-spec/kernel.json file replace to SOME_PATH, so you will get SOME_PATH/ICSharpCore.dll
  5. from COPY_FOLDER/ICSharpCore run "jupyter kernelspec install kernel-spec --name=csharp"

the last comand copies the kernel-spec directory in your ProgramData\Jupyter\kernels\

hope this helps

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

3 participants