Getting Started with SPARK: Advanced Setup
Bootstrap the Virtual Environment Without VS Code
In the event that creating the virtual environment outside VS Code is necessary, follow these steps depending on the operating system.
But first, the bootstrap and activation scripts must be generated.
Open the VS Code command palette by pressing
Ctrl+Shift+P.Type
SPARK: Generate Activation Scriptsand press Enter.
Open a Command Prompt or PowerShell in the project’s root directory.
Run the bootstrap script by typing:
$ .\bootstrap.bat
Open a terminal in the project’s root directory.
If not already installed, install the
curlcommand-line tool using your Linux distribution’s package manager.Run the bootstrap script by typing:
$ source ./bootstrap.sh
Bootstrapping the SPARK Virtual Environment.
Activate the Virtual Environment Without VS Code
There might be cases where activating the environment outside of VS Code is necessary. Follow these steps depending on the operating system.
Command Prompt or PowerShell
Open a Command Prompt or PowerShell in the project’s root directory.
Execute the activation script by typing:
$ .\activate.bat
At this point, the virtual environment is activated in the current terminal session.
Open a terminal in the project’s root directory.
Execute the activation script by typing:
$ source ./activate.sh
At this point, the virtual environment is activated in the current terminal session.