Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


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

Kalirajan88Kalirajan88 Posts: 2Member
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.
Code :-
import os
os.system ("evince test_file.pdf")
except Exception, e:
print 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: failed to map segment from shared object: Permission denied". How to resolve this problem ?
Any Solutions/Comments you have would be appreciated. Thank you...

Sign In or Register to comment.