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? Laurence. -- 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.
