Automation faults because of package installation

my problem is when testing process always successful but when production always failed.

I think this error like when running on local machine (not cloud) because failed install package while cloud is not need install anything.