I have ubuntu os and recently installed it on my pc but unable to execute the python code but the same code is executed in another os, why? printer offline fix helped me to get the details of this so far but I want some quick solution.