I'm trying to build a onedir exe on windows, but I'm running into
trouble with cherrypy;
Cherrypy has this bit of code:
try:
# Python 3
from urllib.parse import urljoin, urlencode
from urllib.parse import quote, quote_plus
from urllib.request import unquote, urlopen
from urllib.request import parse_http_list, parse_keqv_list
except ImportError:
# Python 2
from urlparse import urljoin
from urllib import urlencode, urlopen
from urllib import quote, quote_plus
from urllib import unquote
from urllib2 import parse_http_list, parse_keqv_list
but my built package fails with this:
...
File iu.py, line 455, in importHook
del sys.modules[fqname]
KeyError: 'urllib.parse'
It's eating up the import error prematurely. Any way to fix this?
--
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.