Installation¶
To set up a powerful integrated development environment (IDE) for Safe-DS, follow these steps:
- Install Visual Studio Code (VS Code).
- Install the Safe-DS extension for VS Code.
To run Safe-DS programs, you also need the Safe-DS Runner:
- Install Python (3.11 or 3.12). Make sure to add Python to your
system's
PATH
during installation. Verify installation by runningpython --version
in a command line. You should get output similar toPython 3.12.2
. - Open VS Code.
- Open the command palette (Menu bar > View > Command Palette).
- Type
Install the Safe-DS Runner
. - Press Enter. Installation may take a few minutes, since it downloads and installs several large libraries like PyTorch.
Updating the Safe-DS Extension¶
By default, VS Code automatically updates extensions. You only need to restart VS Code to apply the update.
Updating the Safe-DS Runner¶
You need to update the Safe-DS Runner if you see an error message like this:
Error message
The installed runner version 0.9.0
is not compatible with this version of the extension.
The installed version should match these requirements: >=0.10.0,<0.11.0
. Please update to a matching version.
Click on the button "Update runner" in the error message to trigger the update process.