Please check this topic

Continuing the discussion from Pyscript with forge
please help me