Skip to main content

Install Required Packages

The final step in setting up your PC environment is to install the required Python packages for Candy Bot.

  1. Create a file named requirements.txt in your "candy" folder and add the following content:

    gitpython>=3.1.30
    matplotlib>=3.3
    numpy>=1.23.5
    opencv-python>=4.1.1
    pillow>=10.3.0
    psutil
    PyYAML>=5.3.1
    requests>=2.32.2
    scipy>=1.4.1
    thop>=0.1.1
    torch>=1.8.0
    torchvision>=0.9.0
    tqdm>=4.66.3
    ultralytics>=8.2.34
    pandas>=1.1.4
    seaborn>=0.11.0
    setuptools>=70.0.0
    httpx
    hwid
    dxcam
    keyboard
    pyserial
    pyttsx3
    colorama
  2. In the Command Prompt (with the virtual environment activated), install the requirements by running:

    python -m pip install -r requirements.txt

    This process may take a few minutes as it downloads and installs all the necessary packages.

Congratulations! You've successfully set up your PC environment for Candy Bot. In the next section, we'll cover how to configure and use the bot software.