hey Create an environment varible namePYTHONPATH and add this to it: %PYTHONPATH%;C:\Python27\Lib\site-packages;
restart cmd and run again. On Sun, Oct 12, 2014 at 9:53 AM, oyster <[email protected]> wrote: > Hi, > > I have just installed cygwin64 and python 2.7 from https://www.cygwin.com/. > Then I "pip install pyinstaller", however when I used pyinstaller, I found > 2 bugs. I fixed one(at least I think so), but can't handle the other. > > 1. The first bug: pyinstaller says 'IOError: Python library not found!'. > This can be fixed by open > g:\cygwin64\lib\python2.7\site-packages\PyInstaller\bindepend.py, then in > get_python_library_path(), change > [code] > elif is_cygwin: > names = ('libpython%d%d.dll' % pyver,) > [/code] > to > [/code] > elif is_cygwin: > names = ('libpython%d.%d.dll' % pyver,) > [/code] > > 2. The secondone, "IOError: [Errno 2] No such file or directory: > '/usr/lib/python2.7/site-packages/ > PyInstaller/bootloader/CYGWIN_NT-6.1-64bit/run.exe'" > I try to fix it by a lazy way, that is copy > "g:\cygwin64\lib\python2.7\site-packages\PyInstaller\bootloader\Windows-64bit" > to"g:\cygwin64\lib\python2.7\site-packages\PyInstaller\bootloader\CYGWIN_NT-6.1-64bit". > Now there is no error. However, even I use pyinstaller on simple "print > 123", the EXE file is generated, but when I run it, it hang on without any > message is displayed. > Can anyone fix that? > > Thanks > > Lee June > > -- > You received this message because you are subscribed to the Google Groups > "PyInstaller" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pyinstaller. > For more options, visit https://groups.google.com/d/optout. > -- Bests, madoodia -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
