Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99054
| From | Ulli Horlacher <framstag@rus.uni-stuttgart.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: pyinstaller and Python 3.5 on Windows? |
| Date | 2015-11-19 12:25 +0000 |
| Organization | University of Stuttgart, FRG |
| Message-ID | <n2kf43$4u7$1@news2.informatik.uni-stuttgart.de> (permalink) |
| References | <n2iv3p$o1n$2@news2.informatik.uni-stuttgart.de> <n2kcdk$l39$1@dont-email.me> |
Kevin Walzer <kw@codebykevin.com> wrote:
> I understand that Python 3.5 has shipped how the MS dll's from Visual
> Studio are shipped, and perhaps the freezing tools (pyinstaller, py2exe)
> haven't yet caught up. Consider filing a bug with the pyinstaller
> developers.
http://pythonhosted.org/PyInstaller/#windows
Installing in Windows
For Windows, PyWin32 or the more recent pypiwin32, is a prerequisite.
The latter is installed automatically when you install PyInstaller using
pip or easy_install. If necessary, follow the pypiwin32 link to install
it manually.
I have installed PyInstaller using "pip install pyinstaller".
Ok, then:
C:\Users\admin>pip install pywin32
Collecting pywin32
Could not find a version that satisfies the requirement pywin32 (from versions: )
Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external pywin32 to allow).
No matching distribution found for pywin32
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:
Traceback (most recent call last):
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\basecommand.py",
line 211, in main
status = self.run(options, args)
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\commands\install
.py", line 311, in run
root=options.root_path,
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\req\req_set.py",
line 646, in install
**kwargs
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\req\req_install.
py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\req\req_install.
py", line 998, in move_wheel_files
isolated=self.isolated,
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\wheel.py", line
339, in move_wheel_files
clobber(source, lib_dir, True)
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\wheel.py", line
317, in clobber
shutil.copyfile(srcfile, destfile)
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)\\python
3.5\\Lib\\site-packages\\PyWin32.chm'
Why "Permission denied"? I am logged in as administrator! Stupid Windows...
Then https://pypi.python.org/pypi/pypiwin32/219 :
pypiwin32-219-cp35-none-win32.whl Python Wheel cp35 2015-01-09 7MB
"Python Wheel"?!
http://python-packaging-user-guide.readthedocs.org/en/latest/installing/#install-pip-setuptools-and-wheel
C:\Users\admin>pip install wheel
Collecting wheel
Downloading wheel-0.26.0-py2.py3-none-any.whl (63kB)
100% |################################| 65kB 1.3MB/s
Installing collected packages: wheel
Failed to write executable - trying to use .deleteme logic
Exception:
Traceback (most recent call last):
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\distlib\
scripts.py", line 209, in _write_script
self._fileop.write_binary_file(outname, script_bytes)
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\distlib\
util.py", line 388, in write_binary_file
with open(path, 'wb') as f:
PermissionError: [Errno 13] Permission denied: 'c:\\program files (x86)\\python
3.5\\Scripts\\wheel.exe'
Looks like I have a broken Windows :-(
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum IZUS/TIK E-Mail: horlacher@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/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-18 22:46 +0000
Re: pyinstaller and Python 3.5 on Windows? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-11-19 01:13 +0100
Re: pyinstaller and Python 3.5 on Windows? Christian Gollwitzer <auriocus@gmx.de> - 2015-11-19 08:04 +0100
Re: pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-19 07:50 +0000
Re: pyinstaller and Python 3.5 on Windows? Kevin Walzer <kw@codebykevin.com> - 2015-11-19 06:41 -0500
Re: pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-19 12:25 +0000
Re: pyinstaller and Python 3.5 on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-11-19 13:32 +0000
csiph-web