'File Error: failed to extract *\file.exe: failed to open target file! fopen: Invalid argument
I'm trying to package a python file (app) with pyinstaller, the app requires ffmpeg to function properly, I packaged it this way in CMD:
C:/Python39-32/Scripts/pyinstaller.exe --icon "yt.ico" --add-data "ffmpeg.exe;*" --onefile --noconsole YT-Downloader.py
However it gives me the following error when I run it:
failed to extract *\ffmpeg.exe: failed to open target file! fopen: Invalid argument
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
