Another alternative…
Are you using free anvil, or the full python version (one of the paid plans)?
There is a new feature in the beta editor where you can add your own pipy (pip) packages to anvil.
Maybe you can install dataframe_image using this feature?
If that does not work and you are a paid user you could try emailing anvil support and asking them to add it, this sounds like a pretty useful package to have installed.