IronPython import csv library

If I import csv library in IronPython shell everything works fine.
I can run my imp/exp scripts.

When I try to re-create same script via Python Script node inside Dynamo,
I get this error:

“Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named csv”

(I’m using 1.2.1.3083 on Win 10 pro)

Help greatly appreciated.

Thanks!

you have to add your librarypath to the python shell in dynamo

1 Like

@ Peter_Kompolschek - thank you!

Hey. Thanks.
But how do you do that?

This is a late reply, but for those (like me) that were looking for the answer, see this AU session @ ~29min in: https://www.autodesk.com/autodesk-university/class/Untangling-Python-Crash-Course-Dynamos-Python-Node-2017#video