Python Forum
Error with Pyinstaller Modules
Thread Rating:
  • 3 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error with Pyinstaller Modules
#5
Hey, thank you very much for the reply. I followed your steps and was able to build the application in the venv and it is starting.
However the log  in C:\Python35\venv\build\hello\warnhello.txt still shows the following warnings.

Error:
missing module named resource - imported by posix, C:\Python35\venv\hello.py missing module named posix - imported by os, C:\Python35\venv\hello.py missing module named _posixsubprocess - imported by subprocess, C:\Python35\venv\hello.py missing module named 'org.python' - imported by pickle, C:\Python35\venv\hello.py, xml.sax missing module named ce - imported by os, C:\Python35\venv\hello.py missing module named readline - imported by cmd, code, pdb, C:\Python35\venv\hello.py excluded module named _frozen_importlib - imported by importlib, importlib.abc, C:\Python35\venv\hello.py missing module named _frozen_importlib_external - imported by importlib._bootstrap, importlib, importlib.abc, C:\Python35\venv\hello.py missing module named _winreg - imported by platform, C:\Python35\venv\hello.py missing module named _scproxy - imported by urllib.request missing module named java - imported by platform, C:\Python35\venv\hello.py missing module named 'java.lang' - imported by platform, C:\Python35\venv\hello.py, xml.sax._exceptions missing module named vms_lib - imported by platform, C:\Python35\venv\hello.py missing module named termios - imported by tty, C:\Python35\venv\hello.py, getpass missing module named grp - imported by tarfile, shutil, C:\Python35\venv\hello.py missing module named _dummy_threading - imported by dummy_threading, C:\Python35\venv\hello.py missing module named org - imported by copy, C:\Python35\venv\hello.py missing module named pwd - imported by posixpath, tarfile, shutil, http.server, webbrowser, C:\Python35\venv\hello.py, netrc, getpass
#!/usr/bin/python35
print("Hello")
input()
Command Line code to Build:
pyinstaller hello.py

I'm probably missing something obvious here, but I don't get how Errors like this "missing module named ce - imported by os, C:/Python35/venv/hello.py" come up in the log when building above python code. (as I literally import no modules there.)

When you are building the Code above in your Virtual Environment are there any error warnings in the .log in the build folder?
Reply


Messages In This Thread
Error with Pyinstaller Modules - by sym - Jan-16-2017, 10:33 AM
RE: Error with Pyinstaller Modules - by sym - Jan-19-2017, 08:24 AM
RE: Error with Pyinstaller Modules - by wavic - Jan-19-2017, 09:03 AM
RE: Error with Pyinstaller Modules - by snippsat - Jan-19-2017, 06:27 PM
RE: Error with Pyinstaller Modules - by sym - Jan-20-2017, 02:22 PM
RE: Error with Pyinstaller Modules - by snippsat - Jan-20-2017, 03:49 PM
RE: Error with Pyinstaller Modules - by sym - Jan-20-2017, 04:14 PM
RE: Error with Pyinstaller Modules - by snippsat - Jan-21-2017, 01:31 AM
RE: Error with Pyinstaller Modules - by sym - Jan-23-2017, 08:56 AM
RE: Error with Pyinstaller Modules - by sym - Jan-23-2017, 04:12 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020