Applied Data Science & AI for Cybersecurity

Setup and installation instructions for the Applied Data Science & AI for Cybersecurity course.

Black Hat USA 2026 - Setup Guide

Registration information

Course Slack Channel #bhusa26_ads

August 1-2 and August 3-4

Welcome to BlackHat USA 2026!


Install Conda - Python Virtual Environment Manager

You can install either the full Anaconda application or a minimal version called Miniconda. Miniconda is a lightweight version of Anaconda that includes only the essential packages and tools. For the purpose of this course, we recommend using Miniconda.

Step 1: Download the Installer

Get the correct installer for your OS from the Official Miniconda Download Page. Make sure to choose the right architecture (e.g., Apple Silicon vs. Intel for Mac).

Step 2: Install by Operating System

Windows

  1. Run the downloaded .exe file.
  2. Follow the prompts.
    1. Install for “Just Me”
    2. Leave “Add Miniconda3 to my PATH” unchecked to prevent system conflicts.
    3. Check “Register Miniconda3 as my default Python.”
  3. Click Install.
  • To use: Open the Anaconda Prompt from your Start Menu (do not use the standard Command Prompt).

  • Be sure to accept the required agreements. Failure to do this will result in conda not running in PyCharm.

macOS

  • Graphical Installer (.pkg): Double-click the file and follow the on-screen visual prompts.
  • Terminal Installer (.sh): Open Terminal and run:

  bash ~/Downloads/Miniconda3-latest-MacOSX-arm64.sh
  

(Change the filename to match your downloaded version).

Linux

  1. Open Terminal and run the installer script:

  bash Miniconda3-latest-Linux-x86_64.sh
  
  1. Press Enter to read the license, then type yes to agree.

Step 3: Finish and Verify (All Systems)

  1. During the terminal installation (macOS/Linux), type yes when asked to run conda init. This links conda to your terminal.
  2. Close and reopen your terminal or Anaconda Prompt.
  3. Test the installation by running:

  conda --version
  

If successful, it will output the version number. macOS and Linux users will also see a (base) prefix next to their terminal prompt.


Setup the Course Environment

Follow these steps to configure your coding environment for the bootcamp.

Step 1: Open the Project in PyCharm

  1. Launch PyCharm Professional.
  2. On the Welcome screen, click Open (or go to File > Open).
  3. Navigate to the directory where you cloned or downloaded the course repository.
  4. Select the project folder and click Open.

Step 2: Create the Conda Environment

We use a configuration file called environment-1-7.yml to ensure everyone has the same versions of the necessary libraries.

  1. Open the Terminal at the bottom of the PyCharm window.
  2. Ensure you are in the project root directory (where environment-1-7.yml is located).
  3. Run the following command to create the virtual environment:
conda env create -f environment-1-7.yml

Note: This process may take a few minutes as it downloads and installs all dependencies.

Step 3: Configure the Project Interpreter

Once the environment is created, you must tell PyCharm to use it for this project.

  1. Open your IDE settings:
    • Windows/Linux: File > Settings
    • macOS: PyCharm > Settings
  2. Navigate to Python > Interpreter.
  3. Click the Add Interpreter button and select Add Local Interpreter….
  4. Select the Use existing environment radio button.
  5. In the Type dropdown, select Conda.
  6. In the Environment dropdown list, locate the environment you just created (it will be named gtk-bh-ai-1-6). If you don’t see it, click the reload environments link.
  7. Click OK to save the interpreter settings, then OK again to close the Settings window.

PyCharm will now begin indexing your environment, after which you will be ready to start the course!

You will see the environment selected in the lower right corner of PyCharm.

selected_environment.png


Download the Course Material

The course materials are available on GitHub: https://github.com/gtkcyber/applied_data_science_2026

You can either clone the repository or download it as a ZIP file.

If you have Git installed, we recommend cloning the repository. This makes it easier to pull updates if any changes are made to the course materials.

  1. Open your terminal (or command prompt).
  2. Navigate to the directory where you want to store the course files.
  3. Run the following command:
git clone https://github.com/gtkcyber/applied_data_science_2026.git

Option 2: Download as a ZIP File

If you don’t have Git installed, you can download the files manually:

  1. Visit the GitHub repository page.
  2. Click the green Code button near the top right.
  3. Select Download ZIP.
  4. Once the download is complete, extract the ZIP file to a folder on your computer.

Setup the Course Environment

Follow these steps to configure your coding environment for the bootcamp.

Step 1: Open the Project in PyCharm

  1. Launch PyCharm Professional.
  2. On the Welcome screen, click Open (or go to File > Open).
  3. Navigate to the directory where you cloned or downloaded the course repository.
  4. Select the project folder and click Open.

Step 2: Create the Conda Environment

We use a configuration file called environment.yml to ensure everyone has the same versions of the necessary libraries.

  1. Open the Terminal at the bottom of the PyCharm window.
  2. Ensure you are in the project root directory (where environment.yml is located).
  3. Run the following command to create the virtual environment:
conda env create -f environment-1-7.yml

Note: This process may take a few minutes as it downloads and installs all dependencies.

Step 3: Configure the Project Interpreter

Once the environment is created, you must tell PyCharm to use it for this project.

  1. Open your IDE settings:
    • Windows/Linux: File > Settings
    • macOS: PyCharm > Settings
  2. Navigate to Project: [Project Name] > Python Interpreter.
  3. Click the Add Interpreter button and select Add Local Interpreter….
  4. In the left-hand menu, select Conda Environment.
  5. Select the Use existing environment radio button.
  6. In the dropdown list, locate the environment you just created (it should be named something like ai-cyber). If you don’t see it, click the refresh icon.
  7. Click OK to save the interpreter settings, then OK again to close the Settings window.

PyCharm will now begin indexing your environment, after which you will be ready to start the course!

Work with the best in AI and cybersecurity training.

Contact us to discuss custom training programs for your team.

Get in Touch