Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Importing eppy in Ghpython

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

"Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

I also found this thread posted earlier which shows the same error: http://www.grasshopper3d.com/forum/topics/ghpython-ironpython-engine-frames#

Has anyone succeeded importing eppy in Ghpython/Grasshopper?

Importing eppy in Ghpython

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

"Runtime

 Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

'_getframe'"

I also found this thread thread posted earlier which shows the same error: http://www.grasshopper3d.com/forum/topics/ghpython-ironpython-engine-frames# error:

Has anyone succeeded importing eppy in Ghpython/Grasshopper?

Importing eppy in Ghpython

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

 Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

I also found this thread posted earlier which shows the same error:

Has anyone succeeded importing eppy in Ghpython/Grasshopper?

There is a check box under EditPythonScript ->Tools -> Options -> Script Engine, where one can check "Frames Enabled".

It seems working well afterward to import eppyin the ghpython editor, however, I still can't import "modeleditor" under eppy, when I do from eppy import modeleditor, the error shows:

Runtime error (InvalidOperationException): Unsupported param dictionary type: IronPython.Runtime.PythonDictionary
Traceback:
  line 44, in initpkg, "C:\Python27\Lib\site-packages\py\_apipkg.py"
  line 19, in <module>, "C:\Python27\Lib\site-packages\py\__init__.py"
  line 24, in <module>, "C:\Python27\Lib\site-packages\eppy\modeleditor.py"
  line 4, in script

Importing eppy in Ghpython

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

 Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

I also found this thread posted earlier which shows the same error:

Has anyone succeeded importing eppy in Ghpython/Grasshopper?


There is a check box under EditPythonScript ->Tools -> Options -> Script Engine, where one can check "Frames Enabled".

It seems working well afterward to import eppyin the ghpython editor, however, I still can't import "modeleditor" under eppy, when I do from eppy import modeleditor, the error shows:

Runtime error (InvalidOperationException): Unsupported param dictionary type: IronPython.Runtime.PythonDictionary
Traceback:
  line 44, in initpkg, "C:\Python27\Lib\site-packages\py\_apipkg.py"
  line 19, in <module>, "C:\Python27\Lib\site-packages\py\__init__.py"
  line 24, in <module>, "C:\Python27\Lib\site-packages\eppy\modeleditor.py"
  line 4, in script

Importing eppy in Ghpython

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

 Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

I also found this thread posted earlier which shows the same error:

Has anyone succeeded importing eppy in Ghpython/Grasshopper?


There is a check box under EditPythonScript ->Tools -> Options -> Script Engine, where one can check "Frames Enabled".

It seems working well afterward to import eppyin the ghpython editor, however, I still can't import "modeleditor" under eppy, when I do from eppy import modeleditor, the error shows:

Runtime error (InvalidOperationException): Unsupported param dictionary type: IronPython.Runtime.PythonDictionary
Traceback:
  line 44, in initpkg, "C:\Python27\Lib\site-packages\py\_apipkg.py"
  line 19, in <module>, "C:\Python27\Lib\site-packages\py\__init__.py"
  line 24, in <module>, "C:\Python27\Lib\site-packages\eppy\modeleditor.py"
  line 4, in script

Importing eppy in Ghpython

I was trying to import Eppy package in the Ghpython editor in Grasshopper. Got this error:

 Runtime error (MissingMemberException): 'module' object has no attribute '_getframe'"

I also found this thread posted earlier which shows the same error:

Has anyone succeeded importing eppy in Ghpython/Grasshopper?


There is a check box under EditPythonScript ->Tools -> Options -> Script Engine, where one can check "Frames Enabled".

It seems working well afterward to import eppyin the ghpython editor, however, I still can't import "modeleditor" under eppy, when I do from eppy import modeleditor, the error shows:

Runtime error (InvalidOperationException): Unsupported param dictionary type: IronPython.Runtime.PythonDictionary
Traceback:
  line 44, in initpkg, "C:\Python27\Lib\site-packages\py\_apipkg.py"
  line 19, in <module>, "C:\Python27\Lib\site-packages\py\__init__.py"
  line 24, in <module>, "C:\Python27\Lib\site-packages\eppy\modeleditor.py"
  line 4, in script