Error while trying to access the various APIs in RhinoInside.Revit

Hi forum members
I am getting error like
Runtime error (IOException): Could not add reference to assembly RhinoInside.Revit
Traceback:
line 3, in script

Hi kodi,

Not seeing any red flags here.

Can you provide your About info? Thanks!

Hi japhy
can you help me out how to resolve the error in my case?
thanks in advance

I’m here to help, but i’ll need more info to be able to. Thanks

previous issue got solved. :+1:
But ,Now having new issue.
When I try to copy paste same code in Visual studio code editor ,iam getting error like attached in the image.
I tired pip install … also .

About info as you asked for:

help me out resolve the error
thanks in advance