Hello,
Here is a description of the problem. I have a file named test.py
containing just *print('Hello World')*. I use command line to try and make
an EXE with it, typing *pyinstaller test.py --log-level DEBUG*. When I
double click the resulting EXE I see for a brief moment a flash on the task
bar, but that is all. No printed line!
I get the strong feeling that Pyinstaller is not getting all of the files
it needs to do the job, but is not giving me an obvious error. I looked at
the warn-test file (copy pasted at the bottom of the email) and there are a
lot of things I recognize, like terminos and subprocess; things that should
be standard with Python to my knowledge. What do I do to fix this?
Thanks,
Liam
++++++++++++++++++++++++++++++++++++++++++++++++++
This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running you program. Python and
Python 3rd-party packages include a lot of conditional or optional modules.
For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.
Types if import:
* top-level: imported at the top-level - look at these first
* conditional: imported within an if-statement
* delayed: imported from within a function
* optional: imported within a try-except-statement
IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
yourself tracking down the missing module. Thanks!
missing module named _posixsubprocess - imported by subprocess (conditional)
missing module named 'org.python' - imported by copy (optional), xml.sax
(delayed, conditional)
missing module named pwd - imported by posixpath (delayed, conditional),
shutil (optional), tarfile (optional), http.server (delayed, optional),
webbrowser (delayed), netrc (delayed, conditional), getpass (delayed)
missing module named posix - imported by os (conditional, optional)
missing module named resource - imported by posix (top-level)
missing module named grp - imported by shutil (optional), tarfile (optional)
missing module named termios - imported by tty (top-level), getpass
(optional)
missing module named vms_lib - imported by platform (delayed, conditional,
optional)
missing module named 'java.lang' - imported by platform (delayed,
optional), xml.sax._exceptions (conditional)
missing module named java - imported by platform (delayed)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named _winreg - imported by platform (delayed, optional)
missing module named _frozen_importlib_external - imported by
importlib._bootstrap (delayed), importlib (optional), importlib.abc
(optional)
excluded module named _frozen_importlib - imported by importlib (optional),
importlib.abc (optional)
missing module named readline - imported by cmd (delayed, conditional,
optional), code (delayed, conditional, optional), pdb (delayed, optional)
missing module named org - imported by pickle (optional)
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/7360d80a-92bf-4627-ba6b-502068402fcfn%40googlegroups.com.