You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(31) |
Jul
(50) |
Aug
(79) |
Sep
(45) |
Oct
(41) |
Nov
(56) |
Dec
(103) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(75) |
Feb
(37) |
Mar
(40) |
Apr
(41) |
May
(91) |
Jun
(41) |
Jul
(38) |
Aug
(48) |
Sep
(146) |
Oct
(98) |
Nov
(65) |
Dec
(64) |
2006 |
Jan
(40) |
Feb
(123) |
Mar
(57) |
Apr
(69) |
May
(49) |
Jun
(51) |
Jul
(50) |
Aug
(103) |
Sep
(89) |
Oct
(23) |
Nov
(73) |
Dec
(63) |
2007 |
Jan
(74) |
Feb
(76) |
Mar
(40) |
Apr
(46) |
May
(97) |
Jun
(45) |
Jul
(57) |
Aug
(74) |
Sep
(42) |
Oct
(15) |
Nov
(63) |
Dec
(10) |
2008 |
Jan
(40) |
Feb
(40) |
Mar
(25) |
Apr
(51) |
May
(34) |
Jun
(70) |
Jul
(52) |
Aug
(55) |
Sep
(44) |
Oct
(66) |
Nov
(44) |
Dec
(42) |
2009 |
Jan
(26) |
Feb
(32) |
Mar
(40) |
Apr
(81) |
May
(44) |
Jun
(49) |
Jul
(45) |
Aug
(58) |
Sep
(23) |
Oct
(62) |
Nov
(40) |
Dec
(48) |
2010 |
Jan
(24) |
Feb
(74) |
Mar
(62) |
Apr
(31) |
May
(42) |
Jun
(24) |
Jul
(39) |
Aug
(61) |
Sep
(21) |
Oct
(24) |
Nov
(26) |
Dec
(41) |
2011 |
Jan
(27) |
Feb
(27) |
Mar
(45) |
Apr
(15) |
May
(13) |
Jun
(26) |
Jul
(20) |
Aug
(52) |
Sep
(11) |
Oct
(32) |
Nov
(5) |
Dec
(5) |
2012 |
Jan
(7) |
Feb
(21) |
Mar
(2) |
Apr
(5) |
May
(9) |
Jun
|
Jul
(14) |
Aug
(20) |
Sep
(5) |
Oct
(8) |
Nov
(11) |
Dec
(4) |
2013 |
Jan
(7) |
Feb
(9) |
Mar
(8) |
Apr
(7) |
May
(22) |
Jun
(7) |
Jul
(4) |
Aug
(10) |
Sep
(7) |
Oct
(1) |
Nov
(17) |
Dec
(2) |
2014 |
Jan
(4) |
Feb
(2) |
Mar
(6) |
Apr
(6) |
May
(15) |
Jun
|
Jul
(9) |
Aug
(7) |
Sep
(21) |
Oct
(13) |
Nov
|
Dec
(2) |
2015 |
Jan
(5) |
Feb
|
Mar
(11) |
Apr
(3) |
May
(9) |
Jun
(5) |
Jul
(2) |
Aug
(2) |
Sep
(8) |
Oct
(9) |
Nov
(6) |
Dec
(1) |
2016 |
Jan
|
Feb
(5) |
Mar
(32) |
Apr
|
May
|
Jun
(10) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(7) |
Nov
(3) |
Dec
|
2017 |
Jan
(5) |
Feb
|
Mar
(1) |
Apr
(1) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Massa, H. A. <ch...@gh...> - 2021-08-24 11:06:56
|
Hi, py2exe is used to bundle: - a python interpreter - all the libraries / packages - all the Python code you wrote for a project into one directory / file. Essentially: all the components used by your python project are ZIPped into one big file (or directory). The Python files were compiled (.pyc created) to do this. ALL DEPENDENCIES have to be installed on the system you run py2exe on! py2exe (or, more exactly, setuptools, which py2exe extends) tries its best to find all dependencies. Sometimes, it fails, and the link you quoted https://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules explains how to work around some of those failures. One example: SOME packages dynamically try to import plugins (Python Image Library, PIL, or its fork, PILLOW do this: there may be modules for PNG, JPEG, TIFF; and PIL scans the directory for those modules) "Scanning a directory for modules" is not something that is doable 1:1 if everything is zipped into one system. Especially: py2exe most likely does NOT package all the modules in the directory, as they are not "really" referenced by the project. (The reference of those modules is only created on runtime of the program) does this help? Cheers Harald On Tue, 17 Aug 2021 at 10:54, Shiki Sex <ima...@gm...> wrote: > Hey there. I hope you're having a nice day. :) > > I have a general question. I'm new to those stuff so don't blame me if I'm > being dumb. > > py2exe is used to run python files on PC's without python, and I took a > look at this page: > https://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules but > I still don't understand. How can I also make it so I can grab packages > from pip that are required for my code to run? I have been thinking that > packages are basically just files, and I can include them into the files of > my project as well, but is that possible? And if so, how? > > Thanks in advance. :) > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > -- GHUM GmbH Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 |
From: Shiki S. <ima...@gm...> - 2021-08-17 08:54:29
|
Hey there. I hope you're having a nice day. :) I have a general question. I'm new to those stuff so don't blame me if I'm being dumb. py2exe is used to run python files on PC's without python, and I took a look at this page: https://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules but I still don't understand. How can I also make it so I can grab packages from pip that are required for my code to run? I have been thinking that packages are basically just files, and I can include them into the files of my project as well, but is that possible? And if so, how? Thanks in advance. :) |
From: Will D. <wi...@de...> - 2021-02-11 17:01:45
|
Good morning py2exe users, I appear to be getting an odd issue related to bz2 (a builtin python module) that is preventing my compiled file from running. The program appears work if I don’t bundle files, but I want to have a single .exe file. Here is the traceback: Traceback (most recent call last): File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 241, in load_module File "<frozen zipimport>", line 721, in _get_module_code zipimport.ZipImportError: can't find module '_bz2' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "sunscreen.py", line 1, in <module> from sunscreen.run import run File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "sunscreen\run.pyc", line 4, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "asyncio\__init__.pyc", line 43, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "asyncio\windows_events.pyc", line 20, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "asyncio\windows_utils.pyc", line 13, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "tempfile.pyc", line 43, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "shutil.pyc", line 22, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 87, in load_module File "<frozen zipimport>", line 259, in load_module File "bz2.pyc", line 18, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "zipextimporter.pyc", line 110, in load_module SystemError: initialization of _bz2 did not return an extension module Fair winds and following seas, Will |
From: Jeffrey B. <jef...@gm...> - 2021-02-04 19:47:04
|
you can try using includes option. setup( options = { “py2exe”: { “includes”: [“sip”, “cffi”], } } ) you can also use py2exe.mf.AddPackagePath Thanks, Jeff Thanks, Jeff |
From: Niki S. <nik...@gm...> - 2021-02-02 10:00:19
|
On 1.02.21 г. 19:47, Will Deem wrote: > Good afternoon py2exe mailing list, > > I’ve had my first experience using py2exe today, but I appear to be hitting some snags with dynamic imports (I have gone through the wiki to no avail). > > The project uses a plugins folder containing subfolders with .py files: > > application.py > Plugins\ > | — __init__.py > | — Plugin1\ > | — — __run__.py > | — Plugin2\ > | — — __run__.py > > The project uses importlib.import_module to dynamically import the entry points in __run__.py like: > > Importlib.import_module(‘application.plugins.{}.__run__’.format(plugin)) > > It does not appear to be importing correctly this way, however. Is there a workaround that you know of? > You can make zip for each plugin and add these zip files to the sys.path HTH Niki |
From: Massa, H. A. <ch...@gh...> - 2021-02-01 20:42:46
|
Hi Will, > > I’ve had my first experience using py2exe today, but I appear to be > hitting some snags with dynamic imports (I have gone through the wiki to no > avail). > py2exe tries to freeze everything, in as few files as possible. That is actively static. Which does not fit well with "dynamic" anything. My solution: http://www.py2exe.org/index.cgi/py2exeAndPIL "Make it dumb". Do not rely on any dynamic directory scanning or dynamic import. Remove that dynamic import code, and statically import the modules you need. Cheers Harald -- GHUM GmbH Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 |
From: Will D. <wi...@de...> - 2021-02-01 18:49:32
|
Good afternoon py2exe mailing list, I’ve had my first experience using py2exe today, but I appear to be hitting some snags with dynamic imports (I have gone through the wiki to no avail). The project uses a plugins folder containing subfolders with .py files: application.py Plugins\ | — __init__.py | — Plugin1\ | — — __run__.py | — Plugin2\ | — — __run__.py The project uses importlib.import_module to dynamically import the entry points in __run__.py like: Importlib.import_module(‘application.plugins.{}.__run__’.format(plugin)) It does not appear to be importing correctly this way, however. Is there a workaround that you know of? Fair winds and following seas, Will |
From: Sidnei C. <sid...@gm...> - 2020-12-07 12:16:14
|
Good morning, I'm migrating from py2.7 to py.37 and I generate py27 files.zip and my files.zip and I use these attached script to do the import of the modules within Delphi, using the _memimporter. My problem, I can't generate _memimport.pyd could give me a hand. Grateful. ------------------------------------------------------------------- Sidnei César Coltre Analista de Sistemas Seraphis Tecnologia em Informática Ltda. 45 99847 7100 Cascavel - Paraná www.seraphis.inf.br |
From: Mark H. <ski...@gm...> - 2020-04-14 05:50:02
|
I think I recall (but I'm not really sure tbh) that py2exe will update the DLL in an attempt to make sure any installed Python's don't get used when importing modules - ie, so that "HKLM\Software\Python\PythonCore\x.y" isn't used. You should try grepping for UpdateResource in py2exe's sources. HTH, Mark On 14/04/2020 5:54 am, Jeffrey Britton wrote: > I have two machines using py2exe to build an executable distribution. > Each machine produces a slightly different build, when I desire them to > be identical. The build from the 1st machine works on every computer > that I have moved it to. The build from the second machine works on some > machines, but fails on others. It fails to load QtCore.dll, and > QtCore.dll is present in the distribution. > > I have tried to examining python -m pip list to make sure both machines > have the same packages. > py2exe is version 0.6.9 > python is version 2.7.13 > > But now I get to the weird part, the main part of my question. > On Machine 1 the one who's build works everywhere. > c:\python27\python27.dll and > d:\dist\python27.dll > have different md5sums. > Upon diffing these I see that d:\dist\python27.dll has the characters > py2exe embedded within it and the one in c:\python27\python27.dll does > not have these characters. > > I have renamed all other instances of python27.dll on my computer, so we > can just focus on these two. > > On the second computer, the one that works in only some places, the > python27.dll match. > c:\python27\python27.dll exactly matches c:\dist\python27.dll and do not > have the characters py2exe embedded. > Here the drive letters are the same. Above they were c: and d: > > Besides py2exe seemingly embedding its signature into python27.dll, here > are a few other oddities. > The good build copies API-MS-Win-Core-LocalRegistry-L1-1-0.dll. I don't > think it should do this. > The bad version does not copy this file. > The bad version copies bcrypt.dll and crypt32.dll, the good version does > not. > The produced executables also do not match. > I have compressed:0, optimize: 0 > > So, why does py2exe modifiy python27.dll sometimes? > I'm not sure how to debug this. > I think I'm starting with the same setup on both machines. > Each machine has some packages that the other one does not though. > But the common packages all match version number. > > > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |
From: Massa, H. A. <ch...@gh...> - 2020-04-13 20:38:17
|
Hi Jeffrey, > Besides py2exe seemingly embedding its signature into python27.dll, here > are a few other oddities. > The good build copies API-MS-Win-Core-LocalRegistry-L1-1-0.dll. I don't > think it should do this. > The bad version does not copy this file. > The bad version copies bcrypt.dll and crypt32.dll, the good version does > not. > The produced executables also do not match. > cannot explain anything about the py2exe signature in python27.dll. But the "API-MS-Win-Core..." and the bcrypt.dll and crypt32.dll problem I have experienced intensely. So, in my setup-scripts the following things are pushed into dll_excludes: "dll_excludes": ["tk84.dll", "tcl84.dll", "_tkinter.pyd", "_imagingtk.pyd", "w9xpopen.exe", 'msvcr71.dll', 'win32ui.pyd', "MSVCP90.dll", # starting with Windows 7 "kernelbase.dll", "mpr.dll", "powrprof.dll", "secur32.dll", "shfolder.dll", "API-MS-Win-Core-LocalRegistry-L1-1-0.dll", "API-MS-Win-Core-ProcessThreads-L1-1-0.dll", "API-MS-Win-Security-Base-L1-1-0.dll", # starting with Windows 10 "CRYPT32.dll", "bcrypt.dll", ] Beginning only valid as I do not want to use tkinter. The things starting at "windows 7" - if I do not exclude those dll, the distribution does not work. So, my recommendation: Try to exclude those dlls. (and, by chance, are your builds on different windows versions?) Cheers Harald -- GHUM GmbH Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 |
From: Jeffrey B. <jef...@gm...> - 2020-04-13 19:54:23
|
I have two machines using py2exe to build an executable distribution. Each machine produces a slightly different build, when I desire them to be identical. The build from the 1st machine works on every computer that I have moved it to. The build from the second machine works on some machines, but fails on others. It fails to load QtCore.dll, and QtCore.dll is present in the distribution. I have tried to examining python -m pip list to make sure both machines have the same packages. py2exe is version 0.6.9 python is version 2.7.13 But now I get to the weird part, the main part of my question. On Machine 1 the one who's build works everywhere. c:\python27\python27.dll and d:\dist\python27.dll have different md5sums. Upon diffing these I see that d:\dist\python27.dll has the characters py2exe embedded within it and the one in c:\python27\python27.dll does not have these characters. I have renamed all other instances of python27.dll on my computer, so we can just focus on these two. On the second computer, the one that works in only some places, the python27.dll match. c:\python27\python27.dll exactly matches c:\dist\python27.dll and do not have the characters py2exe embedded. Here the drive letters are the same. Above they were c: and d: Besides py2exe seemingly embedding its signature into python27.dll, here are a few other oddities. The good build copies API-MS-Win-Core-LocalRegistry-L1-1-0.dll. I don't think it should do this. The bad version does not copy this file. The bad version copies bcrypt.dll and crypt32.dll, the good version does not. The produced executables also do not match. I have compressed:0, optimize: 0 So, why does py2exe modifiy python27.dll sometimes? I'm not sure how to debug this. I think I'm starting with the same setup on both machines. Each machine has some packages that the other one does not though. But the common packages all match version number. |
From: Niki S. <nik...@gm...> - 2020-01-23 08:47:43
|
On 22.01.20 г. 18:26 ч., Ted Ansley wrote: > What's the status of py2exe for Python 3.7.X? I recennlty converted my > 3-4 Python apps from 2.7.X to 3.7.X, everything went smoothly but I was > using py2exe to create installer packages. Why isn't Python 3 supported > anymore, since it is the latest. I used PyInstaller in a pinch, but I > have a custom setup.py file for py2exe for each of my apps that I like. > Please, any info would be appreciated! There is a python 3 compatible fork in github https://github.com/albertosottile/py2exe.git IMHO it should be renamed to py3exe :) Niki |
From: Ted A. <ted...@gm...> - 2020-01-22 16:27:04
|
What's the status of py2exe for Python 3.7.X? I recennlty converted my 3-4 Python apps from 2.7.X to 3.7.X, everything went smoothly but I was using py2exe to create installer packages. Why isn't Python 3 supported anymore, since it is the latest. I used PyInstaller in a pinch, but I have a custom setup.py file for py2exe for each of my apps that I like. Please, any info would be appreciated! Regards, Ted A. |
From: Keith <kei...@gm...> - 2019-08-03 15:00:43
|
There might be a traceback, but if you're running it by just clicking on the executable, you probably wouldn't have time to see it. Try running the executable from the command prompt. On 29/07/19 6:09 p.m., Jesus Rodriguez wrote: > Hi > > I am trying to convert a python program to exe. I already tested the > program, it works well but when I convert it to exe I have a problem > when running openOPC functions. > > there is no error when a run "import OpenOPC" > but it fails just when I try to start a client "opc = OpenOPC.client()" > everything else in the program seems to work fine. > > I would appreciate your help or some orientation to solve this problem. > > Thank you > > Jesus Rodriguez > > > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users |
From: Jesus R. <jro...@gm...> - 2019-07-29 23:10:01
|
Hi I am trying to convert a python program to exe. I already tested the program, it works well but when I convert it to exe I have a problem when running openOPC functions. there is no error when a run "import OpenOPC" but it fails just when I try to start a client "opc = OpenOPC.client()" everything else in the program seems to work fine. I would appreciate your help or some orientation to solve this problem. Thank you Jesus Rodriguez |
From: 이 정훈 <jeo...@li...> - 2019-03-22 01:30:37
|
Hello everyone. I've written code to support Python 3.7 for py2exe. I'd like to make a contribution with it. Is there anyone to maintain here? I would appreciate if you help me to merge it into the repository. Best regards, Jeonghun |
From: Ernesto H. R. <ern...@gm...> - 2019-01-03 00:35:07
|
From: Mark B. <mba...@ea...> - 2018-07-03 14:22:53
|
Sup! Eat everything and slim down!<br><br><a href="http://hp-dubai.com/rrtwjsu/00274767.html?9512=ikvbkw&68042=503086&ynxd=7610471">http://hp-dubai.com/rrtwjsu/00274767.html?9512=ikvbkw&68042=503086&ynxd=7610471</a> <br><br>Mark Bausman<br>How is hе getting along now? Hе knew that inside of anothеr half-hour thе little frontier town would be blinking in thе early morning sunlight that falls so brilliantly through thе limpid atmosphеre. Thе outlaw, thеn wontner said wed done several pounds worth of damage to his furniture.<br>Tuppence wandered up an aisle looking at memorial tablets on thе walls. <br>__________________________________<br>03.07.2018 10:22:39 |
From: Jimmy R. <ji...@re...> - 2018-03-05 00:39:27
|
Hi Mark, Welcome to the py2exe mailing list! There is no "online form" associated with py2exe. Maybe you are referring to http://py to exe.com? I added the spaces as I don't want to encourage people to go there without thinking more deeply about the risks. That site has no direct connection with py2exe (http://py2exe.org), which is the subject of this list. In fact, that page says it uses PyInstaller ( http://www.pyinstaller.org), which does something similar to py2exe. Given there is no connection, you won't find much expertise on this list. I'd be surprised if that site has any direct affiliation with PyInstaller either given that it's using a name so similar to py2exe. Also, please think carefully about the risks involved in generating your EXEs with an online tool. I'd be especially wary of using an online tool that is offered over a non-TLS connection and makes no attempt to indicate who is behind it. You have no visibility into what it's doing, so it's very difficult to understand what is in the resulting EXE in addition to (or instead of) your own code. You may be putting users of the resulting EXE at risk. It's possible this is nothing more than an attempt to distribute malware, surreptitious cryptocurrency miners, etc. There are open source tools that have been around for more than a decade (py2exe, PyInstaller, and cx_freeze) that you can use. They are slightly harder to use, but you can look at exactly what they are doing (many people have). And you can automate things so that it's easy to produce future versions of your EXE. The authors of these tools have also openly attached their reputation to them. If you choose to use py2exe itself, then you will likely get support from people here. There is a tutorial to help get you started at http://www.py2exe.org/index.cgi/Tutorial Good luck! Jimmy On Sun, Mar 4, 2018 at 1:23 PM, Mark Bausman <mba...@ea...> wrote: > I am using the online form to convert a .py to an exe. > I need to include a pip library called PLOTLY. > I type plotly in the form where it asks for it but I get an error. > How should I input the PLOTLY requirement. > > > Mark Bausman > Wylie, Texas > Load on Sunday - Shoot all week. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |
From: Mark B. <mba...@ea...> - 2018-03-04 21:23:16
|
I am using the online form to convert a .py to an exe. I need to include a pip library called PLOTLY. I type plotly in the form where it asks for it but I get an error. How should I input the PLOTLY requirement. Mark Bausman Wylie, Texas Load on Sunday - Shoot all week. |
From: Hewey D. <pas...@gm...> - 2017-12-13 01:09:14
|
I have a pure Python app which runs correctly. Running py2exe with the option ["bundle_files" : 3], it creates the dist folder and puts all necessary files there. The EXE will run fine. Using option ["bundle_files" : 1] creates a single EXE file which, when run crashes with : Traceback (most recent call last): File "AppWindowsList.py", line 17, in <module> File "zipextimporter.pyo", line 82, in load_module File "MswDllFuncs.pyo", line 128, in <module> File "zipextimporter.pyo", line 82, in load_module File "pywin\dialogs\list.pyo", line 1, in <module> File "zipextimporter.pyo", line 82, in load_module File "pywin\mfc\dialog.pyo", line 7, in <module> File "zipextimporter.pyo", line 98, in load_module ImportError: MemoryLoadLibrary failed loading win32ui.pyd Does this mean the PYD file is corrupt ? System: Win 10 pro v1703 Python 32-bit config: python-2.7.14.msi py2exe-0.6.9.win32-py2.7 pywin32-221.win32-py2.7 Attached is my setup.py file. |
From: Thomas H. <th...@ct...> - 2017-09-11 14:49:15
|
Hello, I won't be able (or willing) to maintain py2exe anymore for several reasons. It would be great if someone could take over... Thomas |
From: Thomas H. <th...@ct...> - 2017-09-11 14:46:30
|
Hello, I won't be able (or willing) to maintain py2exe anymore for several reasons. It would be great if someone could take over... Thomas |
From: <my....@gm...> - 2017-06-18 12:49:29
|
Following my topic, I'm looking help here on this list. https://stackoverflow.com/questions/44606422/python34-pyqt5-mvc-and-py2exe-zipextimporter-py-line-116-in-load-module-c 1.. I have Python34 MVC app that working corect in typical python execution as script that including all modules from MVC for PyQt5. https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/ 2.. When I using py2exe (no any errors - Copy DLL to dst), then app.exe is created,but not executed coz exist error: Traceback (most recent call last): File "main.pyw", line 6, in <module> File "E:Python34\lib\site-packages\zipextimporter.py", line 116, in load_module raise zipimport.ZipImportError("can't find module %s" % fullname) zipimport.ZipImportError: can't find module Controller.MainController There is thousend queries by google with similar error logs, but not any ansewer how to resolve by own, with full understandig of this issue (eg debug). The app looks like: import sys from PyQt5.QtWidgets import QApplication, QMessageBox from PyQt5 import QtCore, QtGui from Model.MainModel import MainModelClass from Controller.MainController import MainControllerClass def main(): app = QApplication( sys.argv ) model = MainModelClass() controller = MainControllerClass(model) app.exec_() if __name__ == '__main__': sys.exit(main()) 3.. What I discover time ago and was suprised, that py2exe expect init.py on each folder where is module for MVC (that is not required on pure python execution). In other way if not init then bug as in point 2 is permament (I have other version of app that just not need more libs eg. QDialog in MainView and working ok, but if init.py is deleted from folder Contoroller where is MainContoroller.py then as in point 2 if init.py exist then compiled .exe is ok and working as expect. I'm sure that init.py is everywhere. 4.. How to prevent this? How to discover the point in code for this .exe from py2exe as problem or extort module Controller.MainController? 5.. Any similar issues with py2exe and solutions to repair? 6.. It's work in pure python and pyinstaler compiller coretly. But I'm not happy from pyinstaler in case that in some of my aps have many .pyd files, which can't be inside .exe and this case creating chaos in folder app. as _MEI or other, exist additional includes, plugins, etc.. Soo function of use py2exe is comfy, specialy if I operate on some universal framework for app, eg. usefull staff as esky,etc. And this post is for reach more knoweledge about py2exe or some problems. Maybe I'm too long this problem and missed something very simply or not doing this right way (checking source of problem - eg. dependecy walker?). Hi, |
From: Sakurai Y. <You...@ys...> - 2017-05-11 03:06:13
|
Hello Martin, Following command gives you the same information as -VV in case of 2.7 or just run Python in interactive mode like this. [cid:image001.png@01D2CA4E.F1E39750] Best regards, Youhei From: Martin Lee [mailto:te...@ho...] Sent: Thursday, May 11, 2017 11:56 AM To: Sakurai Youhei <You...@ys...> Cc: py2...@li... Subject: Re: [Py2exe-users] The application has failed to start because its side-by-side configuration is in correct Hi Sakurai, python -VV Python 2.7.12 There is no MSC version after typed this command. Regards, Ho Yeung, Lee Martin ________________________________ From: Sakurai Youhei <You...@ys...<mailto:You...@ys...>> Sent: Wednesday, May 10, 2017 0:23 To: Martin Lee Cc: py2...@li...<mailto:py2...@li...> Subject: Re: [Py2exe-users] The application has failed to start because its side-by-side configuration is in correct Hello, I'm just one of py2exe users but I'd be able to give a clue. At first, check out what compiler built your Python by following command. python -VV Then, you'll find version (MSC v. nnnn) and architecture (32 bit or 64 bit) of compiler in command's output. Next, go to http://stackoverflow.com/a/2676904 and identify what version of VC++ needs to be installed. [https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded]<http://stackoverflow.com/a/2676904> What version of Visual Studio is Python on my computer compiled with?<http://stackoverflow.com/a/2676904> stackoverflow.com I am trying to find out the version of Visual Studio that is used to compile the Python on my computer It says Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win... After installing correct version and architecture of vcredist, your application will be probably able to start without such error. Best regards, Youhei Sent from my iPhone On May 9, 2017, at 23:28, Martin Lee <te...@ho...<mailto:te...@ho...>> wrote: Hi , in the past, compile this program in window 7 without any visual studio installed, it can run in new window server but after install VS2017 community, and compile python program to executable file in window 10, then got this error Regards, Ho Yeung, Lee Martin ________________________________ From: Martin Lee <te...@ho...<mailto:te...@ho...>> Sent: Tuesday, May 9, 2017 22:00 To: py2...@li...<mailto:py2...@li...> Subject: [Py2exe-users] The application has failed to start because its side-by-side configuration is in correct Hi, install in new virtual machine window 2008 in window 2012 after install vcredist_x64.exe still have this error The application has failed to start because its side-by-side configuration is in correct. Please see the application event log or use the command-line sxstrace.e xe tool for more detail. # setup.py from distutils.core import setup import py2exe setup(console=["sendsyslog.py"]) Regards, Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot _______________________________________________ Py2exe-users mailing list Py2...@li...<mailto:Py2...@li...> https://lists.sourceforge.net/lists/listinfo/py2exe-users ________________________________ CONFIDENTIALITY NOTICE This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to in...@ys...<mailto:in...@ys...> with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. Y Soft and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks. Y Soft is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection Y Soft does not accept liability. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them. |