[python-win32] pyinstaller: failed to create process
Ulli Horlacher
framstag at rus.uni-stuttgart.de
Thu Nov 19 08:56:52 EST 2015
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: horlacher at 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.GA20736 at rus.uni-stuttgart.de>
More information about the python-win32
mailing list