adding  command line keys--hiddenimport matplotlib.backends.backend_pdf  
--hiddenimport 
matplotlib.backends.backend_svg help me, but with space and not assign(=) 
symbol

понеділок, 26 серпня 2024 р. о 20:22:18 UTC+3 bwoodsend пише:

> Matplotlib’s array of interchangeable backends model is fairly ambiguous 
> to PyInstaller — particularly if you want more than one backend. Telling 
> PyInstaller which backends you want 
> <https://pyinstaller.org/en/v6.10.0/hooks-config.html#matplotlib-hooks> 
> straightens it out.
> # In your spec file a = Analysis( ... hooksconfig={ "matplotlib": { 
> "backends": ["TkAgg", "pdf"], } }, ... ) 
>
> That said, just adding a dumb 
> --hiddenimport=matplotlib.backends.backend_pdf to the build command does 
> the trick for me too.
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/2d7d4614-e75a-47db-8421-817384b0402an%40googlegroups.com.

Reply via email to