Questions tagged [exe]

EXE is a common filename extension for an executable file (a program) in Microsoft Windows and other operating systems (e.g. DOS, OpenVMS, Symbian, and OS/2).

5454 questions
1
vote
1 answer

.NET Core Publish Exe with incorrect modified date?

I'm having an issue with the publication of my Windows Service. The .exe that is output has a weird modified date on it and not sure how / why it is being changed, I think it is the cause for issues I'm having running this exe Live. I need to…
benbants
  • 590
  • 7
  • 30
1
vote
0 answers

ModuleNotFoundError when converting from .py to .exe

I created a program in Pycharm which uses the following library: import sys sys.coinit_flags = 2 import tkinter as tk from tkinter import filedialog, ttk, messagebox import os import zipfile import shutil from pynput.keyboard import Key,…
Dave White
  • 31
  • 3
1
vote
1 answer

NSIS exe internal bytes and SHA26 differences

When I run the makeInstaller with no code change, the byte sizes are varying by 4-5 more or less and this affects the SHA26 on the generated exe causing integrity questions. Any thoughts here? Processed 1 file, writing output (x86-ansi): Output:…
VS1928
  • 57
  • 5
1
vote
0 answers

.py to .exe with large dependencies

I need to convert a python script that contains a large number of large dependencies such as opencv, bs4 and selenium into an electable file that can run on a system that dose not have python installed. However all the "how to's" on how to convert…
Jason Rieder
  • 177
  • 1
  • 2
  • 10
1
vote
1 answer

I'm trying to run a program I converted from .py to exe but it's giving me the error "failed to execute script 'filename'."

The script I wrote is very simple and does not require any external files for it to work. I also tested it before converting it to an executable file and it ran as expected. Pyinstaller is how I converted it. This is the code # Imports from shutdown…
Hyprrman
  • 11
  • 1
1
vote
0 answers

Cannot open exe created by cx_freeze

I tried converting my keras and nltk chatbot to exe using cx_freeze. When I clicked on the exe, it gave me the following error: Error window How can I correct this error? Also, here's my setup.py code: import sys from cx_Freeze import setup,…
NAB Tech
  • 11
  • 2
1
vote
2 answers

When executing a pyinstaller .exe file, pygame raises an error

I'm making a little game using mainly Tkinter, but for sounds I used pygame. I've been trying to make an .exe file but it gives me an error when I execute. pygame.init() self.sound_player_shot =…
1
vote
1 answer

Simple C# console app does not work on other PC

I'm so newbie about programming, just started to learn 1-2 weeks ago, I didn't learn before programing. I started the process with making a very basic console application in C# language and I used for this the Visual Studio program. The application…
Gordiana
  • 23
  • 5
1
vote
1 answer

How can I get my MSIX installer to add my CLI application binary to the PATH?

Goal: convert the EXE installer for my CLI application to an MSIX installer. Method: using the MSIX Packaging Tool to convert the EXE installer to MSIX Expected: the MSIX Packaging Tool will detect updates to PATH so that the binary is available in…
jaredgorski
  • 512
  • 4
  • 13
1
vote
1 answer

Errors using pyinstall to create exe file, last error: 'ImportError: Unable to load module attribute'

I have a simple .ipynb that reads a value from one excel file, and prints it to a cell in another excel file. I use 'jupyter nbconvert --to script MyFile.ipynb to generate .py file. This works, no error. .py file is created. In…
Miss.Pepper
  • 103
  • 10
1
vote
1 answer

file.py runs but file.exe doesen't

I created a script that needs to be called by another program and to do it I converted it to a .exe file, however, even if the file.py runs perfectly, the .exe file keeps crashing with this message: "OSError: [WinError 126] cannot find specified…
pica
  • 51
  • 6
1
vote
1 answer

The operation could not be completed. Error loading type library/dll .Net

I have a xaml C# project which is a windows .exe application. I want to create a setup file for the same so that I can install it on other machine. I have followed this link to create MSI setup. Creating installer setup From the above link when I am…
Ankita
  • 189
  • 1
  • 4
  • 12
1
vote
1 answer

Exe Download Failure

I recently constructed a program in Python 3.0. This program requires quite a few modules and I intend to share this with my friends. However it would surely be inconvenient for them to install the python IDE (as they mostly are not programmers) and…
Harman Punchi
  • 85
  • 2
  • 9
1
vote
1 answer

Python script converted to exe doesn´t do anything

I have a python3 script that I want to convert to exe file. It has 2 command line arguments and when I convert it to exe using pyinstaller and run it as exe doesn´t print anything. The script is like this: import glob import os import time import…
Ger Cas
  • 2,188
  • 2
  • 18
  • 45
1
vote
0 answers

No such file or directory in pyinstaller

When I try to run a .exe file made with python, I get the following message: No such file or directory: 'C:\Users\[myUsername]\AppData\Local\Temp\_MEI171122\tldextract\.tld_set' What should I do?