C++ kernel for Jupyter is mainly supported for Linux and macOS, so keeping on Windows requires additional setup for the C++ kernel on the Windows platform.
We apologize for this extra setup bothers you >.<
To install GCC, you may need to download some compilers from WinLibs. Scroll down to download one of these compilers:
I recommend downloading the latest GCC version (in
.zip
format), with all the features.
Once downloaded, extract it into any folder that makes GCC stay for a long time. (Downloads
, Documents
, and temp
folders are not recommended, because any of those can be deleted easily (by accident, or by system cleanup features).
In this demonstration, I extract the folder into
C:\
Once extracted, go to the folder you just extracted, then go to the bin
folder. If you can see the g++.exe
and gcc.exe
, you are looking good!
On your keyboard, press Windows key + R
to see the run dialog, then enter SystemPropertiesAdvanced.exe
. You may see this window appear:
Click on the Environment Variables...
, and you will see the Environment Variables
dialog open.
In the System variables
, scroll down to see Path
Variable, then click Edit
Add New
variable, copy the GCC bin
path to the variable, then paste it into the variable
Once you have done this, click Ok
to save all changes.
If you are unsure whether the GCC is installed properly or not, try this command on the Command Prompt
gcc -v
g++ -v