Python Forum
Error with Pyinstaller - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Error with Pyinstaller (/thread-9550.html)



Error with Pyinstaller - dineshkumar - Apr-16-2018

Hi,

Here is the link https://github.com/cztomczak/cefpython/blob/master/examples/wxpython.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 64bit wxPython 4.0.0b2 gtk2 (phoenix)


Create Exec file:

ex: pyinstaller --onefile wxpython.py

Error:


Error:
[quote]Traceback (most recent call last): File "wxpython.py", line 11, in <module> from cefpython3 import cefpython as cef File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module exec(bytecode, module.__dict__) File "cefpython3/__init__.py", line 45, in <module> File "PyInstaller/loader/pyiboot01_bootstrap.py", line 136, in __init__ File "ctypes/__init__.py", line 362, in __init__ OSError: /tmp/_MEInJSebh/cefpython3/libcef.so: cannot open shared object file: No such file or directory Failed to execute script wxpython[/quote]
Please let me know the solution.