In a message of Thu, 19 Nov 2015 14:56:52 +0100, Ulli Horlacher writes: >I have to compile my Python scripts into standalone Windows executables >which I can give to Windows users without Python. >I use PyInstaller on Windows 7 for this task. >It runs without problems with Python 2.7.10 >But I am not able to get it working with Python 3.5 > >First, I was not able to install PyInstaller at all. I got > >C:\Users\admin>pip install pypiwin32 > >Collecting pypiwin32 > Downloading pypiwin32-219-cp35-none-win32.whl (7.9MB) > 100% |################################| 7.9MB 61kB/s >Installing collected packages: pypiwin32 >Exception: >(...) > File "c:\program files (x86)\python 3.5\lib\shutil.py", line 115, in > copyfile > with open(dst, 'wb') as fdst: >PermissionError: [Errno 13] Permission denied: 'c:\\program files >(x86)\\python3.5\\Lib\\site-packages\\PyWin32.chm' > >I found, I have to deactivate Windows UAC with: > >C:\Windows\System32\UserAccountControlSettings.exe > >Then I was able to run > >pip install pypiwin32 >pip install pyinstaller > >without errors. > >BUT pyinstaller does not work: > >S:\python>pyinstaller.exe --onefile tk.py >failed to create process. > >S:\python>pyinstaller --version >failed to create process. > > >What is wrong? > >-- >Ullrich Horlacher Server und Virtualisierung >Rechenzentrum IZUS/TIK E-Mail: horlac...@tik.uni-stuttgart.de >Universitaet Stuttgart Tel: ++49-711-68565868 >Allmandring 30a Fax: ++49-711-682357 >70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ >REF:<20151119135652.ga20...@rus.uni-stuttgart.de>
I think you have this bug. http://bugs.python.org/issue25148 But I don't know what the workaround is, since I really only use linux. Laura _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32