How to install python packages in AppDaemon permanently?

Hello everyone,

I would like to ask for assistance with a configuration issue I’m experiencing.

After power outage when my Home Assistant boots up, AppDaemon doesn’t start despite “Start on boot” option being turned on. After investigating the issue I’ve come to a conclusion that the core of the problem is that HA boots up before the internet connection is ready.

My AppDaemon configuration calls for ‘babel’ python package to be loaded. It seems that AppDaemon does try to start, but it can’t get the package from the Internet, as the connection is not yet available at that time, and fails. That also has some unfortunate implications for some of my installations that are in remote sites with very limited or no internet connection at all.

Is it possible to permanently install system packages like ‘babel’ so that it doesn’t have to be loaded from the internet every time AppDaemon starts?

Please excuse me if that is a silly question, I really couldn’t find a proper answer/solution to that question.

Thank you very much in advance for any suggestions.

All the best!