Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Install on Mac OS X

Zohaib Rauf edited this page Mar 13, 2019 · 2 revisions

Install Mono

Follow the official instructions to install Mono on Mac OS X.

Install Jupyter

Follow the official instructions to install Jupyter on Mac OS X.

Install Git

Follow the instructions to install Git on Mac OS X

Compile iCSharp

#checkout with submodules:
git clone --recursive https://github.com/zabirauf/icsharp.git
cd icsharp
bash ./build.sh brew   

Run C# in Jupyter Notebook

Exchange the ip for your server ip, and change the directory before iCSharp.Kernel.exe

jupyter notebook --KernelManager.kernel_cmd="['mono', '/usr/local/bin/myjupytertest/icsharp/Kernel/bin/Release/iCSharp.Kernel.exe', '{connection_file}']"  --ip=127.0.0.1  --MappingKernelManager.default_kernel_name='icsharp'

Notes:

  • Omitting the parameter default_kernel_name will prevent accessing any variables in the notebook.
  • The Kernel incorrectly appears as Python2.
Clone this wiki locally