pyinstaller error
Questions should be asked on the forum:
https://groups.google.com/group/cefpython
108 INFO: PyInstaller: 3.2.1
108 INFO: Python: 3.7.3
109 INFO: Platform: Windows-10-10.0.17763-SP0
110 INFO: UPX is not available.
111 INFO: Removing temporary files and cleaning cache in ...\AppData\Roaming\pyinstaller
134 INFO: Extending PYTHONPATH with paths
['G:\cefpython-master\examples']
134 INFO: Will encrypt Python bytecode with key: This-is-a-secret
135 INFO: Adding dependencies on pyi_crypto.py module
135 INFO: checking Analysis
136 INFO: Building Analysis because out00-Analysis.toc is non existent
136 INFO: Initializing module dependency graph...
139 INFO: Initializing module graph hooks...
140 INFO: Analyzing base_library.zip ...
Traceback (most recent call last):
File "d:\install_soft\anaconda3\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "d:\install_soft\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\install_soft\Anaconda3\Scripts\pyinstaller.exe_main.py", line 9, in
Looks like pyinstaller 3.2.1 has issues with scanning "base_library.zip" for your Python version. You can try upgrade pyinstaller to a newer version, but keep in mind that cefpython's pyinstaller example is only tested with 3.2.1 and users reported issues with newer versions of pyinstaller in the past, so other unrelated issues might arise if you do so.
Thanks for your response. I have replaced python 3.7.3 with 3.6.5, but it still got the same error.
I tried python 3.5 and I got the cefapp.exe, but a new error occurs:
PyInstaller Bootloader 3.x
LOADER: executable is G:\cefpython-master\examples\pyinstaller\dist\cefapp\cefapp.exe
LOADER: homepath is G:\cefpython-master\examples\pyinstaller\dist\cefapp
LOADER: _MEIPASS2 is NULL
LOADER: archivename is G:\cefpython-master\examples\pyinstaller\dist\cefapp\cefapp.exe
LOADER: No need to extract files to run; setting extractionpath to homepath
LOADER: SetDllDirectory(G:\cefpython-master\examples\pyinstaller\dist\cefapp)
LOADER: Already in the child - running user's code.
LOADER: Python library: G:\cefpython-master\examples\pyinstaller\dist\cefapp\python35.dll
LOADER: Loaded functions from Python library.
LOADER: Manipulating environment (sys.path, sys.prefix)
LOADER: Pre-init sys.path is G:\cefpython-master\examples\pyinstaller\dist\cefapp\base_library.zip;G:\cefpython-master\examples\pyinstaller\dist\cefapp
LOADER: sys.prefix is G:\cefpython-master\examples\pyinstaller\dist\cefapp
LOADER: Setting runtime options
LOADER: Initializing python
LOADER: Overriding Python's sys.path
LOADER: Post-init sys.path is G:\cefpython-master\examples\pyinstaller\dist\cefapp\base_library.zip;G:\cefpython-master\examples\pyinstaller\dist\cefapp
LOADER: Setting sys.argv
LOADER: setting sys._MEIPASS
LOADER: importing modules from CArchive
LOADER: extracted pyimod00_crypto_key
LOADER: callfunction returned...
LOADER: extracted struct
LOADER: callfunction returned...
LOADER: extracted pyimod01_os_path
LOADER: callfunction returned...
LOADER: extracted pyimod02_archive
LOADER: callfunction returned...
LOADER: extracted pyimod03_importers
LOADER: callfunction returned...
LOADER: Installing PYZ archive with Python modules.
LOADER: PYZ archive: out00-PYZ.pyz
LOADER: Running pyiboot01_bootstrap.py
LOADER: Running wxpython.py
Traceback (most recent call last):
File "wxpython.py", line 10, in
I installed wxpython 4.0 and it succeeded! Thanks a lot.