I am writing python using pyinstaller 2.1 on OSX Mavericks. I have done this successfully in the past, but this is my first package that uses coppy and ffmpeg. I use the following import:
from moviepy.video.io import ffmpeg_reader
Without this line in the code, everything works fine, and I can run my last package from its icon in finder. When importing film strip, it will work if I start from the terminal as follows:
open ./myapp.app
but it will not open if I click on the icon from finder (it opens quickly and crashes). I assume this has something to do with paths or environment variables that are set in the terminal but not wrap into my packaged application. I tried various hidden imports in pyinstaller for video games and its dependencies, but nothing works. --debug mode did not provide much information to track it. Any other ideas?
Thank!
source
share