mysqldump-to-csv icon indicating copy to clipboard operation
mysqldump-to-csv copied to clipboard

ImportError: cannot import name 'SIGPIPE'

Open azhar22k opened this issue 7 years ago • 4 comments

Getting this error ImportError: cannot import name 'SIGPIPE' when running on windows machine But runs well on Mac

azhar22k avatar May 22 '17 06:05 azhar22k

Same error

ydeng11 avatar Nov 19 '17 02:11 ydeng11

same here

Hipapheralkus avatar Dec 10 '17 12:12 Hipapheralkus

So, SIGPIPE is not available on windows and actually use fork feature of unix/linux. The only solution I came up is to comment out line no. 8 and 9 while running this code on windows.

azhar22k avatar Dec 11 '17 06:12 azhar22k

when I commented out those lines, I started getting OverflowError: Python int too large to convert to C long . Dont know if the two are related hovewer I checked my data and non of them are bigger than sys.maxsize

eylulakdemir avatar Feb 10 '20 11:02 eylulakdemir