Python Forum
Problem py2exe - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Problem py2exe (/thread-885.html)

Pages: 1 2


RE: Problem py2exe - andrea1980345 - Nov-12-2016

The problem i guess is that, i use python 3.5 and have a 64 bit sistem, and into the folder of py2exe i dont have a file name run_w-py3.5-win-amd64.ex


RE: Problem py2exe - metulburr - Nov-12-2016

(Nov-12-2016, 04:25 PM)andrea1980345 Wrote: i use python 3.5 and have a 64 bit sistem
It doesnt matter what your OS is. You can run python32 bit on a windows 64 bit OS. And you can make a separate python 3.5 32 bit install alongside your current one


RE: Problem py2exe - snippsat - Nov-12-2016

You have Python 35,and i don't think Py2exe work yet for 3.5.
Quote:Starting with Python 3.3, the Windows build of Python is built using Visual Studio 2010. So you will need to use MSVCR100.DLL for Python 3.3 or 3.4.
See this tutorial step for specifying the correct library. Just replace the *90.DLL by *100.DLL.

Note that starting with Python 3.5, Visual Studio 2015 is being used,
which introduces a new way of distributing the CRT,
so you won’t need a MSVCR140.dll but something else instead.
It’s likely that py2exe will take a while to become compatible.
Install 3.4 and use that to run py2exe.
Use other alternatives that work for 3.5 eg Pyinstaller
mod version of CxFreezepynsist 1.9.


RE: Problem py2exe - andrea1980345 - Nov-12-2016

He dont change anything. Im pretty sure. I dont have the file run_w-py3.5-win-amd64.exe or run_w-py3.5-win32.exe i dont have file 3.5 for writing.. I dont know why

Damn so i have to import again all the module on 3.4 right?


RE: Problem py2exe - snippsat - Nov-12-2016

(Nov-12-2016, 04:35 PM)andrea1980345 Wrote: Damn so i have to import again all the module on 3.4 right?
Yes,but PyHook and Pywin32(pythoncom,win32console, win32gu, win32api, win32con) are the only 3-party lib as i can see.

Or look at the 3 alternatives for 3.5 that i have posted.


RE: Problem py2exe - andrea1980345 - Nov-12-2016

Ok, now im out, i will se the other alternatives tomorrow! Thank you


RE: Problem py2exe - andrea1980345 - Nov-15-2016

Work with pyinstaller, thanks!