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
Traceback:
line 8, in , “C:\Python27\Lib\csv.py”
line 9, in , “C:\Users\User\Dropbox\Code\Spectacle.py”"
I am doing anything wrong? Would appreciate any help
Willem
(Willem Derks)
2
Hi,
If you inspect csv.py you will see it imports from _csv.py
So you need to locate _csv.py and make that discoverable as well.
-Willem
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
JSG
5
Hi,
Is the csv module now supported?
Best,
James
stevebaer
(Steve Baer)
6
I believe it will be in Rhino 6
Alain
(Alain Cormier)
7
IronPython 2.7.5 is in Rhino WIP now and I just did a small test to confirm that the csv module is available.