Ghpython3 is not working

Hello every one!

I have just recently started learning python, so this may be a rudimentary question.

Scripts that work in ghpython on rhino7 do not work in ghpython on rhino8.
The type hint should be set appropriately for each.
Here is the actual script ↓ ↓ ↓ ↓ ↓ ↓

import ghpythonlib.components as ghcomp
P, T, t = ghcomp.DivideCurve(geo, divNum, False)
a = P

I would like to know why ghpython in rhino 8 is not working.

Thanks.
TSK.
240725_python3_NotWorking.gh (5.3 KB)

Old Python works for me in R8, new Python does not:

old_python_R8_2024Jul29a

import ghpythonlib.components as ghcomp

P, T, t = ghcomp.DivideCurve(geo, divNum, False)

a = P

P.S.

I will continue my studies with the old python.
Thanks!