I was able to recreate my issue with a small example.  The script
below prints google's main page when run directly, but throws
"LookupError: unknown encoding: ascii" when run through pyinstaller.
And I confirmed that adding encodings.ascii to hiddenimports or
even directly to the script below doesn't fix it.

-andy



#!/usr/bin/python

import httplib

conn = httplib.HTTPConnection('www.google.com')
conn.request('GET', '/')
resp = conn.getresponse()
print resp.read()

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to