Skip to main content
Version: 0.19.0

Using Jupyter in VS Code

In data analysis, machine learning, and scientific research, Jupyter is a widely used tool. However, sometimes we don’t want to switch to a browser, but rather use Jupyter directly in VS Code. Fortunately, VS Code provides powerful official extensions that allow you to run Notebooks just like in the browser. Moreover, CrackNuts fully supports the Jupyter environment in VS Code.

This article will guide you step by step on how to set up and use Jupyter in VS Code.

Install VS Code

First, make sure you have installed:

Download link: https://code.visualstudio.com/

After downloading, double-click the installer and follow the instructions.

Install VS Code Extensions

Open the Extensions panel in VS Code and install the following two extensions:

  • Python
  • Jupyter

Select Python Environment

alt text

alt text

alt text

alt text

Here, the cracknuts environment is the conda virtual environment automatically created when installing CrackNuts through the installation script.
If you installed CrackNuts via pip, please select your own Python environment.

CrackNuts Panel

Once everything is installed, you can open a Jupyter notebook file normally. In the Jupyter environment of VS Code, the CrackNuts panel will be displayed as follows:

alt text