I suggest making the following changes on pisa.py line 470 Change this: os.system('open "%s"' % filename) For this: os.system('xdg-open "%s"' % filename)