Python Forum
Error with Pyinstaller
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error with Pyinstaller
#1
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 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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PyInstaller subprocess.checkout error aftab_s81 1 3,794 Aug-15-2017, 01:21 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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