Problem has been solved by zipimport.
Then I zip chardet to file module.mod, and used like this:
importer = zipimport.zipimporter('module.mod')
chardet = importer.load_module('chardet')
Add -file module.mod in hadoop streaming command.
Now chardet can be used in script.