jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing into GitHub Code Spaces

clstaudt opened this issue · comments

How to install a xeus-cling kernel into a GitHub Codespace?

Following these steps worked for me:
-> Open a Jupyter Notebook codespace in Github Codespaces so that the relevant extensions are already downloaded
-> As conda is already installed, you can initialise it using conda init and then follow the steps on the installation page replacing mamba with conda to install xeus-cling in the newly created workspace. Although this might not be the best practice it is advised to use mini-conda.
-> Create a new .ipynb file and choose a C++17 kernel by going to Select Another Kernel - Jupyter Kernel - C++17

@clstaudt let me know if this works