py2exe Questions

7

Solved

I have a Python script that I'd like to compile into a Windows executable. Now, py2exe works fine from Windows, but I'd like to be able to run this from Linux. I do have Windows on my development m...
Boehmer asked 1/6, 2010 at 15:18

5

Solved

I have a desktop app that I'm working on and I am using PyInstaller to generate de distribution files. I have chosen PyInstaller over py2exe because it is very easy to use and I don't need to car...
Remodel asked 16/12, 2013 at 18:21

3

I have written a Windows service in python. If I run my script from the command prompt python runService.py When I do this the service installs and starts correctly. I have been trying to creat...
Namara asked 10/9, 2014 at 16:45

5

I am using Py2exe to create a Windows .exe from my Python script. I would like to have the copyright information as well as the product version, description, etc. I've been able to get everything t...
Preterite asked 13/3, 2014 at 20:22

13

Solved

I am trying to call a Python script on VBA, and I am new to this. I tried converting the main script to an EXE file using py2exe and then calling it from VBA (shell), but the main script calls othe...
Crest asked 8/8, 2013 at 20:31

6

I can't figure out how to be able to package this via py2exe now: I am running the command: python setup2.py py2exe via python 2.7.5 and matplotlib 1.3.0 and py2exe 0.6.9 and 0.6.10dev This wo...
Residence asked 3/9, 2013 at 15:46

2

So, I created a python program. Converted to exe using Py2Exe, and tried with PyInstaller and cx_freeze as well. All these trigger the program to be detected as virus by avast, avg, and others on v...
Rally asked 26/1, 2018 at 15:43

5

Solved

I'm using Py2exe to create an executable as a windows service. When I run the script I get this error: File "C:\TeamCity\buildAgent\work\582d895bd5b431ac\winpython\WinPython-32bit-2.7.3.3\pytho...
Hurrah asked 18/2, 2014 at 8:30

8

I'm trying to convert a fairly simple Python program to an executable and couldn't find what I was looking for, so I have a few questions (I'm running Python 3.6): The methods of doing this that I ...
Vladi asked 10/1, 2017 at 13:44

4

Solved

I have python application that shoud be launched as windows executable. I'm using py2exe and pymssql 1.9.908. I used next build script to generate application: from distutils.core import setup im...
Nairn asked 4/8, 2011 at 7:12

4

I've just finished testing a Python programme which involves logging into a site and requires a CSRF cookie to be set. I've tried packaging it as an exe using py2exe and got a socket error. I have ...
Strachan asked 17/6, 2013 at 23:36

1

I've developed an application in Python with PyQt on Mac OS and I want to make .exe file for windows OS. How can I do this? I've tried in Ubuntu but it doesn't work. I'll be grateful for som...
Woolley asked 20/3, 2019 at 7:21

3

Solved

I have an application I wrote for my company in Python 2.x, PyQT4, and MySQLdb and packaged with py2exe. Recently, I made some updates to the application, Porting it to Python 3.4 and PySide. I al...
Dunkle asked 22/5, 2014 at 19:6

3

I am using wxpython and matplotlib to develop a software, when I complete my work, I want to convert the python files to *.exe file by py2exe, so it can be used in Windows. Here is the setup.py fil...
Sidoon asked 10/12, 2015 at 8:51

4

Solved

I have a Python program uses Qt (PyQt4 in fact) and when I launch it from its main.py, I get a console window and the GUI window (on Windows, of course). Then I compile my program with py2exe and ...
Firebug asked 18/7, 2010 at 11:17

2

Solved

How can i remove this black command prompt screen from the desktop when my python script is running? I made the service.py script into exe using python 2 exe. All worked fine but when the .exe is...
Rolle asked 17/7, 2014 at 9:1

6

Solved

I get this error when I try to use one of the py2exe samples with py2exe. File "setup.py", line 22, in ? import py2exe ImportError: no module named py2exe I've installed py2exe with the install...
Jamieson asked 13/8, 2009 at 11:14

4

Solved

I cannot seem to get py2exe to work properly. I have run "python setup.py py2exe" in cmd, as well as "python setup.py install"... and When I try to run my executable setup, I get this same error ov...
Katowice asked 1/4, 2011 at 14:34

6

I'm currently trying to make an executable using py2exe. I use Python 3.6. The script I'm using imports openpyxl and pptx and runs fine when I use Pycharm or run the script using the command window...
Inkle asked 10/1, 2017 at 21:32

3

I have a very simple script based on concurrent.futures that works well in command line (Python 2.7), but crashes when compiled with py2exe or Pyinstaller (the compiled program opens an increasing ...
Presignify asked 20/2, 2015 at 14:27

4

Solved

Is it possible to programaticly run compiled Python (comiled via py2exe) as administrator in Vista? Some more clarification: I have written a program that modifies the windows hosts file (c:\Windo...
Andromede asked 12/10, 2008 at 4:46

2

Solved

Is there a way to deploy a Python program that includes all dependencies on a Linux system? I have used py2exe to "compile" a python script with all modules to a standalone .exe, but that...
Aube asked 30/1, 2020 at 8:20

1

I would like building an executable for a python 3 script that: imports pyqtgraph (with pyqt5) imports theano and pymc3 also imports numpy, scipy, sys, os opens a simple GUI made with qt designer...
Denticulation asked 17/8, 2017 at 12:18

4

Solved

I'm trying to convert my .py script into an executable using py2exe. I've had a number of issues so far that have been largely addressed by the "options" in the setup file below. But now I have a p...
Doting asked 16/12, 2014 at 0:43

4

I am trying to make a windows executable from a python script that uses matplotlib and it seems that I am getting a common error. File "run.py", line 29, in import matplotlib.pyplot as plt Fil...
Malebranche asked 6/1, 2012 at 22:55

© 2022 - 2025 — McMap. All rights reserved.