Running RPS with pyrevit forms not working under ironpython 3.4

84 views
Skip to first unread message

roy_M

unread,
Feb 25, 2023, 9:54:15 PM2/25/23
to RevitPythonShell
Hi,

I am new with RPS and python scripting but was wondering if there is a way to set RPS to run using ironpython 2.7 instead of using the later version?

I tried to use and import pyrevit.forms libraries and always getting this exception below. 

   Exception : System.Exception: PyRevitCPythonNotSupported   

For some reason, my RPS Ironpython version has been changed to 3.4.0 from 2.7.0. The older version did not have any problem running the pyrevit libraries. 
 
I would appreciate any help.

Thanks.

Steven Williams

unread,
Feb 26, 2023, 2:22:21 PM2/26/23
to RevitPythonShell
Use an older release, like 1.0.2. I am guessing you are having problems because 2.0.0 added support for IronPython 3.4, but pyRevit is still in Python 2. https://github.com/architecture-building-systems/revitpythonshell/releases
Reply all
Reply to author
Forward
0 new messages