How/where to deploy a Dash app whose background computations depend on different Python versions?

Hi all,
I’d like to convert a command line tool that I’ve written into an interactive Dash app.
Unfortunately, I don’t have any experience deploying Dash apps. So far I’ve only ever run them locally.

Due to some constraints, parts of the tool are in Python2.7 and some are in Python3.8. I am coding the Dash app in Python3.8.

Now I’m wondering if typical deployment solutions like Heroku or pythonanywhere can handle such an app.

I’d much appreciate any input.

Cheers,
M