I need to deploy my python code on tens of thousands of machines (all linux but with different kernel).
To save time an resolve the dependence issues on different machine I thought two ways as below:
One idea is to use docker which is not possible in my situation.
Another thoughts is to use virtual env. Plan to create virtual env on my laptop, install dependency and my code, then tar the who directory and copy it to target machines.
Is it a good practice? What could be the problem of doing this?