Pyinstaller missing module

Hi there,

there are missing modules while running pyinstaller with my script, it works fine if without using onefile option , where i copy shotgunApi3 into the created folder , but gives me error while using onefile , basically it is unable to find the module,

i follwed the docs and included the hidden_paths=path to shotgunApi3/httplib2/python2/
but it does not seem to recognize this as well

missing module named urllib.urlencode - imported by urllib (delayed), shotgun_api3.lib.httplib2.python2 (delayed)


any help would be appreciated

Thanks