Questions tagged [executable]
An executable is a binary file that can be executed by the operating system.
3,702
questions
1
vote
1
answer
34
views
Python executable: FileNotFoundError
I have a python script that is running perfectly.
I tried to convert it into an EXE executable using pyinstaller and it is giving me the error -
FileNotFoundError: [Errno 2] No such file or directory: ...
1
vote
0
answers
9
views
Recovery .py from .exe python created by cx_Freeze
I created a .exe python using cx_Freeze and it runs normally. I had a problem with my SSD e I lost my script. Is it possible get script back from some folder of lib of .exe?
Somebody has a solution of ...
-3
votes
0
answers
33
views
How to run executable in Kali Linux on Mac M1? [closed]
I am using Kali Linux on Mac M1 (Macos Monterey). When I am going to run the executable it shows the following error. How do I solve the issue?
Running executables on Kali Linux is a must needed thing ...
0
votes
0
answers
26
views
Mojo build for windows
I have some sample Mojo code:
fn main():
print("Hello, world!")
for i in range(10000):
print_no_newline(i)
print_no_newline(' ')
And I run mojo build test.🔥
And it ...
0
votes
0
answers
15
views
Using latest Code Sign Certificate in build scripts to sign algorithms sha1, sha384, sha256
The new certificate arrived on usb stick ( it seems IExplorer is no more used ) but it does not seem to any more support all algorithms; also the signtool no more accepts the pwd as cmd line parameter,...
1
vote
0
answers
30
views
Issue with python lib
when I try to exexcute my file, I obtain this error:
[20636] Error loading Python lib '/tmp/_MEIlOFEGz/libpython3.9.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (...
0
votes
0
answers
18
views
PyInstaller (ImportError: cannot import name 'jwt' from 'jwcrypto')
Good morning.
I have an application in Python 3.7 which uses several libraries and files that has the following structure:
app2:
- Blockchain
- db
- secrets
- smartcontrats
- utils
- menu....
0
votes
0
answers
9
views
I am using the LiveServer extension on VS Code to visualize my three js web application on the browser. I want to build a .exe for same
I did not install all the dependencies required to run three js on my local system and started using LiveServer extension available on VS Code. Now, I am trying to build an executable file for this ...
0
votes
0
answers
30
views
problems running a batch file from c# asp.net
running the program from visual studio and launching the batch file works correctly, publishing the program on iis doesn't work
public void Button9_Click(object sender, EventArgs e)
{
try
{...
0
votes
0
answers
70
views
Sharing global config variables between executable and static libraries via headers using namespace and inline static members
Im trying to share some common config variables between some of my related static libraries and enabling the variables to be initialized and set within the main function of an executable linking ...
0
votes
2
answers
30
views
Running executable on command line is fine, but running through another program causes non-responsiveness
Running an executable on a Windows command prompt along with the arguments is just fine:
cgx_STATIC.exe -b C:\Users\m3\AppData\Local\Temp\shot-277325955.fbd
But when running the same executable ...
1
vote
2
answers
51
views
powershell: run executable without extension
I have a powershell script which needs to run a number of executables.
The executables have no extension, and cannot be renamed.
They all have the format <something>_test.
When I try to run them ...
0
votes
2
answers
45
views
Implement exit routine in python executable
I have created a executable of a python application using the library pyinstaller.
When the *.exe is started via a double click a window with the python console starts and the application begins to ...
0
votes
1
answer
29
views
python support for earlier version of windows
I am developing a desktop application for windows using pyqt5. I am using python version 3.9. I am not sure about that when i will convert it into exe, will it run on windows 7,8,8.1. Its not ...
0
votes
0
answers
9
views
Path to the exe or dll that contains the metadata resources
Microsoft's help says to put "path to the exe or dll that contains the metadata resources" and "path to the exe or dll that contains the string resources" into the .man XML file ...
0
votes
0
answers
32
views
How can I convert my Code written in PyCharm and Env Conda to an Executable?
i wrote a code which works on PyCharm, with Conda but I am not able to use auto-py-to-exe because the exe never works. This is the code:
import os
from PyPDF2 import PdfReader, PdfWriter
from ...
0
votes
0
answers
22
views
Error: Could not find the sentinel when trying to build node executable
I am trying to create an executable using node using the instructions at https://nodejs.org/docs/latest-v19.x/api/single-executable-applications.html. More specifically, I have tried the following ...
0
votes
1
answer
22
views
Distribute app with Developer ID with Hardened Runtime and 3rd party CLI-executable - Code sign Error
While I tried to distribute my app with Developer ID from Xcode Organizer, I got this error:
Hardened Runtime is not enabled.
"ffmpeg" must be rebuilt with support for the Hardened Runtime. ...
0
votes
0
answers
38
views
Pyinstaller creating exe, but DLL load failure importing bz2
I have the following two lines of code which I’m trying to turn into an executable using pyinstaller.
import pandas as pd
print('hello')
I’m using the command pyinstaller --onefile hello.py and the ...
-1
votes
1
answer
93
views
Custom PE executable file - Windows 10 cannot execute run the given file
I'm trying to write a custom PE file exporter for win10 64 bit, and I'm having some trouble after I've added alignments. I've created a basic test case: an .exe file containing the 'ret' instruction:
...
0
votes
0
answers
68
views
If objdump doesn't show the definitive virtual addresses then how can I get the real definitive virtual addresses in a program?
I'm on an Ubuntu ( 22.04.3 ) x86_64 system.
I have this little C program in a file named test.c :
void fx1(){
int b = 20;
b++;
}
int main(){
int a = 10;
a++;
fx1();
}
I've ...
0
votes
0
answers
19
views
Pyinstaller Created Executable Opens Blank Terminal and Does Nothing
I have a script/app I'm trying to make that interpolates X,Y data. The script itself runs in python just fine, but when I try to package as a single standalone executable it does not work. This is my ...
-8
votes
1
answer
93
views
Are we forced to create processes that must have the text, data ,heap and stack memory sections? [closed]
I know that the basic C program layout in memory is code/text, data, heap and stack. The C program memory layout does correspond to the more general layout of a process in memory.
My questions are :
...
0
votes
0
answers
16
views
When running an executable file with a Python subprocess, can I repeatedly enter the for loop value in the input of the command line?
I have some problems with subprocess and command line input with for loop.
I have an executable file generated from code written in matlab.
This executable file takes a folder name as an input ...
0
votes
1
answer
32
views
Pyinstaller OneDir exe of project with multiple support .py files
I'm running this command from the directory of my project :
pyinstaller --onedir -w Main.py Support1.py Support2.py Support3.py
For more context, Support1.py imports Support2.py and Support3.py as ...
0
votes
1
answer
64
views
pyinstaller problem generating one executable file (it only wants to generate a folder)
i have this .spec file that i use to convert my python project into an executable, the command works just fine however the command generates a folder with a lot of files (the executable among them) ...
0
votes
2
answers
45
views
How to extend a function in dissembled code?
How can I extend/expand the code of a function in the IDA (PRO 7.5 SP3)? I'd like to add some new instructions to the existing function in the disassemble code. I know, that there is a change function ...
1
vote
3
answers
76
views
How to convert a python function (with parameters) into a standalone executable?
I have a python pandas function that uses some libraries and takes in a couple of parameters. I was wondering if it is possible to convert a python function with parameters to an application (so, .exe ...
0
votes
1
answer
58
views
struggling to get msoffcrypto working in an executable build made with cx_freeze
im struggling to get msoffcrypto working in an executable build ive made with cx_freeze.
i have an extremely basic python script
.
import pandas
import msoffcrypto
while True:
print(" ...
0
votes
0
answers
10
views
Make an executable application using node.js
I created a node.js backend that runs on PORT 6543 and serves some APIs. Now what I want is that make an executable file of that application and share that .exe file with my customers.
My customers ...
0
votes
0
answers
37
views
when using .configure and make command when building c++ with .configure script project in emscripten it fails
I am failing when trying to build php.wasm (php-cli.wasm). What am I doing wrong? It is asking me to give flags for libxml which is not there in ./configure command only but there with docker run --rm ...
1
vote
0
answers
28
views
External executables being automatically shut down when Web App is deployed on Azure Web App
I have a Web App / API that lets you run instances of a simple .exe file when you do /api/startnewfleet. This works perfectly on my machine and I can run the command from any other device on my LAN ...
0
votes
0
answers
107
views
Unable to find executable for
I am new to programming and I can't seem to figure out how to get my debugger in Visual Studio Code to work. I am trying to use the Swift extension, which I installed, and try to make an app. However, ...
-1
votes
1
answer
32
views
PyInstaller not finding Excel files in bundled executable
I am facing an issue with PyInstaller while trying to bundle my Python script into an executable. The script relies on Excel files located in a directory called "Stations_list". However, ...
0
votes
2
answers
55
views
How to store .txt data permanently within python code?
I am writing a script in python that reads a large .txt file and compiles the information in the file into a list. This file needs to be read any time the script is ran, and never changes. Is there ...
1
vote
0
answers
25
views
Create App without copying `/usr/lib` in Julia
I am trying to create an app in Julia using the PackageCompiler package. However, during the process the bundle_julia_libraries function is called and executes cp(julia_libdir(), app_libdir; force=...
0
votes
1
answer
55
views
Is there a way to use a PC to create a file that will execute on a Mac?
On my PC, I have:
A Python script.
A .json file that the script needs in order to run.
A directory I made using PyInstaller that includes an .exe file, which runs the script.
My goal is to enable a ...
0
votes
0
answers
115
views
Easyocr is running fine in the python code, but throwing error when converted into an exe file
This is my python code:
import easyocr
cropped_image_path = 'D:\\Desktop\\screens\\screens\\1.png'
reader = easyocr.Reader(['en'])
easy_results = reader.readtext(cropped_image_path)
print(easy_results)...
0
votes
0
answers
72
views
PE loader - Unable to load an executable
I'm having trouble running a PE loader via wine and it is compiled with i686-w64-mingw32-gcc. Whenever I compile the loader.c and execute it with hello_world.exe as an argument, it doesn't seem to ...
2
votes
3
answers
81
views
Common Lisp websites - Is it possible to make changes without downtime?
Right now, my main website is a CL executable behind an nginx proxy.
When I make changes, I have to create a new executable. Stop, the old one and restart the new one. As my traffic grows, this is ...
1
vote
0
answers
13
views
How do I make .R files double clickable in ubuntu?
I have a .R code which I want to make it double clickable so that the users I share it to don't have to install IDE like RStudio and open the code there then selecting all then clicking run. I have ...
0
votes
1
answer
135
views
PE file structure
Hopefully someone can answer these questions for me, thank you.
Looking at msdn and other documentation, I see that the data descriptions of a PE file contain an RVA to the imports table section (....
0
votes
1
answer
27
views
Python console_script installed in virtual environment - executable location not automatically updated
I have a Python package configured to build as a console_script which is working fine. I have it installed globally which is linked to my Mac's homebrew Python 3.9 installation.
The command is called ...
2
votes
2
answers
53
views
.exe file not working starting from .py file
I am new to programming. I created a very simple python script for moving the mouse every couple minutes (the code will follow) and it is working properly. Once created the .exe file of the .py script ...
0
votes
1
answer
31
views
Why does AutoPy fail to merge multiple Python files when they are in different directories?
I have 6 different python files lets say numbered 1 to 6. 1 is the main GUI and based on buttons pressed on main gui, 2 to 6 are executed to perform their respective work. AutoPy merges them into a ...
1
vote
1
answer
54
views
Is there a workaround for getting an executable to autorun in Windows 10?
I have an executable file I made using Python and I am trying to get it to run automatically upon being plugged in via a USB on an external drive. I've run into the issue that Windows seems to have ...
0
votes
1
answer
40
views
Can I use Valgrind to analyze which functions in my program are using the most memory?
I have been given an executable where I have to analyze its memory usage - specifically which functions are using the most memory.
I have used Valgrind to perform memory leak checks and analyzing how ...
0
votes
1
answer
51
views
Number of cores for an executable in Python
I am using this executable to run 10 programs in sequence. How do I know if this uses a single core or all cores when running a program?
I=[i+1 for i in range(10)]
for i in I:
try:
exec(...
0
votes
0
answers
66
views
How to make an installer with update manager for my Java application?
I recently resumed my project after taking a break, particularly after searching for a long time without finding any solution for deploying my application as I wanted.
I'm developing a Javafx ...
-1
votes
1
answer
82
views
PikePdf installation failure only when using pyinstaller
I am trying to install use pyinstaller to turn all my scripts into an exe file. I am just using auto-py-to-exe which I believe uses pyinstaller under the hood.
However, I've come across this issue:
...