Hello forum,
I want to create an executable of my python code. But I´m running into an error when I run the executable.
My file "test.py" has the following content:
When I run the command: "pyinstaller --onefile test.py" it generates an executable in my dist directory. However, when I run the executable I get the following error:
AttributeError: module 'moviepy.audio.fx.all' has no attribute 'audio_fadein'
[10316] Failed to execute script testinstaller
Why I cannot run the executable while the code runs fine going through the python compiler?
I use:
Python 3.8.3
Pyinstaller 4.0 (I have tried 4.1 from github as well, but I get the same results)
Thanks for helping me out in advance.
Greetings,
Irwin
I want to create an executable of my python code. But I´m running into an error when I run the executable.
My file "test.py" has the following content:
import numpy as np from moviepy.editor import VideoFileClip, concatenate_videoclips print("hello world")When I run: "python test.py" in my console it generates an output and put "hello world" on my console. So far so great!
When I run the command: "pyinstaller --onefile test.py" it generates an executable in my dist directory. However, when I run the executable I get the following error:
AttributeError: module 'moviepy.audio.fx.all' has no attribute 'audio_fadein'
[10316] Failed to execute script testinstaller
Why I cannot run the executable while the code runs fine going through the python compiler?
I use:
Python 3.8.3
Pyinstaller 4.0 (I have tried 4.1 from github as well, but I get the same results)
Thanks for helping me out in advance.
Greetings,
Irwin