I am packaging my app on Ubunutu using pyinstaller, and import ffpyplayer
in my code. pyinstaller builds the executable, but when I execute the program I receive this error:
Traceback (most recent call last): File "hdc.py", line 13, in File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module File "ffpyplayer/player/init.py", line 10, in File "ffpyplayer/player/player.pyx", line 2, in init ffpyplayer.player.player ModuleNotFoundError: No module named 'ffpyplayer.threading' [42447] Failed to execute script hdc
I am using ffpyplayer
along with opencv
to playback a local video file. Using PyCharm as my IDE and both ffpyplayer
and opencv
work flawlessly in the IDE, as well as from the command prompt. I have tried pyinstaller with and without the --onefile
option, same result.
How can I resolve this issue? Thx.