Laurence Anthony píše v Ne 20. 05. 2012 v 21:31 +0900:
> Hi again, 
> 
> I've now got a solution which is to use sys.path[0]. This gives the
> same value as os.environ['_MEIPASS2']. 
> 
> But, I really don't understand why the  os.environ values are not
> being set. 
> 
> Any ideas? 

Please use development version. With the development version you should
be able to get the right directory with data files from

sys._meipass

or

sys.prefix

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to