#your .csv file ist too big, increase the max file size import sys import csv csv.field_size_limit(sys.maxsize)