How to compile Rhino8 Python3 component?

How to compile python3 script into grasshopper component? I know the methods in Rhino 7 IronPython, but it’s not working in Rhino8 python3 script.

Snipaste_2023-12-20_16-22-13
Trying to embed ChatGPT into grasshopper, everything works fine but cannot compile it into a component.