Hi,
Here is the link https://github.com/cztomczak/cefpython/b...ython.py.I am running ubuntu 16.04 and attempting to build an application that uses CEFPython3. Everything compiles fine, but when I try to create exec file using pyinstaller then I execute it, getting an error of libcef.so: cannot open shared object file: No such file or directory.
Version using:
CEF Python 57.0
Python 2.7.12 64bi
t wxPython 4.0.0 gtk2 (phoenix)
pyinstaller 3.3.1
Create Exec file:
ex: pyinstaller --onefile wxpython.py
Error:
File "ESSBMain.py", line 5, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
exec(bytecode, module.__dict__)
File "ESSBFrame.py", line 7, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
exec(bytecode, module.__dict__)
File "cefpython3/__init__.py", line 45, in <module>
File "PyInstaller/loader/pyiboot01_bootstrap.py", line 151, in __init__
__main__.PyInstallerImportError: Failed to load dynlib/dll '/tmp/_MEIslUgPM/cefpython3/libcef.so'. Most probably this dynlib/dll was not found when the application was frozen.
There is a quite clear error message:
Failed to load dynlib/dll '/tmp/_MEIslUgPM/cefpython3/libcef.so'. Most probably this dynlib/dll was not found when the application was frozen.
Please have a look at Make sure everything is packaged correctly for tips to find out what is missing.
The documentation page Listing Hidden Imports should also be helpful here.