Connect Slicer's built-in Python to Python IDE

emmm, to be honest, I did what you said above, maybe I’m a newbie, I don’t get the correct way to solve this problem.
Actually my problem is same as this

But I want to convert RTStruct file to .vtp file, so I got the same error :sob: :sob: :sob: