Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
After converting code to exe using PyInstaller, Unable to access defau
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...
0 · ·