When I try to execute the code shown in image, I am getting an Import Error as follow,
"
*Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. * Traceback (most recent call last):
File “”, line 8, in *
File “C:\Users\User\AppData\Local\Programs\Python\Python310\Lib\site-packages\eppy\modeleditor.py”, line 25, in *
File “C:\Users\User\AppData\Local\Programs\Python\Python310\Lib\site-packages\eppy\function_helpers.py”, line 16, in * ImportError: Cannot import name zip_longest
Hi,
Thank you for your response. I tried the same method as shown in the link. Yet for package eppy I am getting following error message once try to install through cmd.
after testing, I confirm the bug, I don’t think there is an easy solution to this problem.
My first idea would be to install Python on your machine exactly the same version of CPython Engine as dynamo, then install eppy from this installation and add the sys.path in your script
Yes I am using the same version of Python as in the system. Yet the error message is as follows,
Warning: PermissionError : [Errno 13] Permission denied: ‘in.idf’ [’ File “”, line 15, in \n’, ’ File “C:\Users\User\AppData\Local\python-3.8.3-embed-amd64\lib\site-packages\eppy\modeleditor.py”, line 1042, in run\n self.saveas(“in.idf”)\n’, ’ File “C:\Users\User\AppData\Local\python-3.8.3-embed-amd64\lib\site-packages\eppy\modeleditor.py”, line 1008, in saveas\n self.save(filename, lineendings, encoding)\n’, ’ File “C:\Users\User\AppData\Local\python-3.8.3-embed-amd64\lib\site-packages\eppy\modeleditor.py”, line 977, in save\n with open(filename, “wb”) as idf_out:\n’]