I want to access a default(or any other) pdf viewer (to show a pdf file) from python on ubuntu 11.10.
On Ubuntu, evince is the default pdf viewer.
os.system ("evince test_file.pdf")
except Exception, e:
This code works well and gives output. No problem.
But, After converting this code to exe using PyInstaller On ubuntu, only the same code does not works. It gives the following error msg. "evince: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Permission denied". How to resolve this problem ?
Any Solutions/Comments you have would be appreciated. Thank you...