I have tried to create an extension for pyrevit using microsoft copilot. It is working well in Revit 2024 but when i started my revit 2025 and 2026 it is unable to load pyrevit. I am not sure if this is an issue with extension or is it something related to company security policy. I tried uninistalling, deleting the appdata folder and reinstalling pyrevit but it didn’t fix the issue.
First image show error i got after running custom extension
Second image shows error after different version of pyrevit was installed by IT team
Would be really thankfull as i need pyrevit for my custom task. I was creating script in claud and using it through pyrevit. This one has created a setback for me.

