import StringIO first before numpy

from the standard lib to the local modules