On Nov 4, 8:42 pm, Jeremy Sanders <[email protected]> wrote:
> So it looks like the program (after run through pyinstaller), is loading a
> module from the Python directory, rather from its own dist directory.Should
> pyinstaller be including the encodings module and it is not?
If I explicitally include "import encodings" in my test script, it
still seems to fail when trying to load the encodings module. I'm
wondering whether the problems are caused by encodings/__init__.py is
doing some messing around with __import__ to load encoding modules:
# Import is absolute to prevent the possibly malicious
import of a
# module with side-effects that is not in the 'encodings'
package.
mod = __import__('encodings.' + modname,
fromlist=_import_tail,
level=0)
--
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.