Importing Python 2.7 library modules to Rhino

I am trying to use the csv module in Python2.7. I tried adding the filepath in EditPython Options> But it still doesn’t work

I get this error
"Message: No module named _csv

line 8, in , “C:\Python27\Lib\”
line 9, in , “C:\Users\User\Dropbox\Code\”"

I am doing anything wrong? Would appreciate any help


If you inspect you will see it imports from
So you need to locate and make that discoverable as well.


The csv module is not supported in the version of IronPython that we ship with Rhino 5. The next version of Rhino will support this module.

I see. Thank you Steve and Willem for taking the time to answer my question

1 Like

Is the csv module now supported?

I believe it will be in Rhino 6

IronPython 2.7.5 is in Rhino WIP now and I just did a small test to confirm that the csv module is available.