Kangaroo for grasshopper scripting

I am getting the error “1. Error running script: module ‘ghpythonlib.components’ has no attribute ‘KangarooSolver’”

when using the code:

__author__ = "jason"
__version__ = "2023.11.09"

import rhinoscriptsyntax as rs
import random

import rhinoscriptsyntax as rs
import ghpythonlib.components as ghcomp

def pack_circles_on_surface(surface, radius_list, density=0.1, iterations=500):
    # Create initial circles on the surface
    initial_circles = []
    for radius in radius_list:
        initial_circles.append(rs.AddCircle((0, 0, 0), radius))

    # Pack circles using Kangaroo
    packed_circles = ghcomp.KangarooSolver.PackCircleOnSurface(initial_circles, surface, density, iterations)

    # Delete initial circles
    for circle in initial_circles:

    return packed_circles

# Input parameters
surface = Surface
radius_list = [5, 10, 15, 20, 25]
density = 0.1  # Adjust density as needed
iterations = 500  # Adjust the number of iterations as needed

# Call the circle packing function
packed_circles = pack_circles_on_surface(surface, radius_list, density, iterations)

# Output the result

I am beyond confused because I definitely have a function kangaroo component

assigned to Scripting category