When I try to compile my project using pyinstaller, it hits this: (win7 + 
vs2010 shell + pyinstaller from github)

2868 INFO: building PKG out00-PKG.pkg
Traceback (most recent call last):
  File "C:\cygwin\tmp\pyinstaller\pyinstaller.py", line 91, in <module>
    main()
  File "C:\cygwin\tmp\pyinstaller\pyinstaller.py", line 86, in main
    run_build(opts, spec_file)
  File "C:\cygwin\tmp\pyinstaller\pyinstaller.py", line 50, in run_build
    PyInstaller.build.main(spec_file, **opts.__dict__)
  File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 1694, in main
    build(specfile, buildpath)
  File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 1651, in build
    execfile(spec)
  File "proj.spec", line 26, in <module>
    icon='../resources/images/projicon.ico')
  File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 1060, in 
__init__
    strip_binaries=self.strip, upx_binaries=self.upx,
  File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 951, in 
__init__
    self.__postinit__()
  File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 312, in 
__postinit
__
    self.assemble()
  File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 1006, in 
assemble
    pylib_name=os.environ['PYI_PYTHON_LIBRARY_NAME'])
  File "c:\Python27\lib\os.py", line 423, in __getitem__
    return self.data[key.upper()]
KeyError: 'PYI_PYTHON_LIBRARY_NAME'

What is the correct way of fixing this?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyinstaller/-/X_gqMjaycTcJ.
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