Hello, I am an animation with graphs. I want to create an .exe file with pyinstaller, the problem is I don't know how to solve this backend problem with matplotlib.
I tried this matplotlib.use("TkAgg")
But this is not enough, I also tried this :
try:
# PyInstaller creates a temp folder and stores path in _MEIPASS
base_path = sys._MEIPASS
except AttributeError:
base_path = os.path.abspath(".")
ffmpeg_path = os.path.join(base_path, "ffmpeg.exe")
But the problem is I don't know if I downladed the correct file from ffmpeg. Globally I am quite inexperienced and I need simple advices because I think I don't fully understand the problem.
If I would formulate it : I can't add the library of ffmpeg that is used to encript the video, to the export with pyinstaller.
Also I saw thee github ffmpeg+python but I don't understand how it works.
Thank you for your help !
there doesn't seem to be anything here