Multiprocessing runs new instances of the main window when frozen as an executable

I already asked this exact question a year ago. My application uses Python's multiprocessing module, which works fine when run from the command line, but when I package it as an executable using...

No module named when using PyInstaller

I try to compile a Python project under Windows 7 using PyInstaller. The project works fine, there are no issues, however when I try to compile it the result doesn't work. Though I get no warnings...

pyinstaller error: OSError: Python library not found: libpython3.4mu.so.1.0, libpython3.4m.so.1.0, libpython3.4.so.1.0

I'm using Python 3.4.4 on Centos7. I've created a python program on my local machine that makes use of qt modules. The program is running fine on my local machine. I'm now trying to create an...

Pyinstaller is not recognized as internal or external command

I am trying to use pyinstaller in cmd but I receive error: C:\Users\username>pyinstaller 'pyinstaller' is not recognized as an internal or external command, operable program or batch...

UPX bad image on launch and notcompressible exception

The script is super simple and works with no UPX. import selenium import scipy import pandas as pd print('Testing123') Upon launch I get bad image pyinstaller myfile.py --upx-dir=C:\upx394w...

How to convert exe back to Python script

Recently I converted a .py file to a .exe file. I lost the original .py file and I'm left with the exe file. I converted it with pyinstaller. Is there anyway to reverse this to get my original .py...

Permission Error When Trying to Use PyInstaller

When trying to deploy a Kivy App using PyInstaller, I am getting Permission Denied errors even when using and Administrator CMD. The folder has all open editing options for every user. Python has...

How to prevent exe created by pyinstaller from being deleted by Antivirus?

I have converted a python project into an exe file using pyinstaller. The basic functionality in the python project is to read files, parse the file contents, and write them into an excel...

Problem Running Xgboost in Executable File

I am using a saved Xgboost model in a executable file created with PyInstaller. I setup a virtual env and downloaded Xgboost and ensured it ran but after I create the exe and run the exe I get an...

Pipe pyinstaller output possible?

I am trying to build a binary of a python application with pyinstaller. My aim is it to get the build time, so I tried the following options time pyinstaller --bootloader-ignore-signals --onefile...

PyInstaller: StopIteration Error when I import geopandas

I am trying to execute PyInstaller on a my script. I installed all of the required packages and the .exe is succesfully created. But when I execute it on another machine, I get he Following...

Python PyInstaller 4.0 packaging TensorFlow 2.0 project not working ImportError: cannot import name 'pywrap_tensorflow'

I am trying to bundle a python application using pyinstaller that uses tensorflow. I am now using Pyinstaller-4.0.dev0+2f4426f52, Tensorflow 2.0, Keras 2.3 and Python 3.7.3 all in a virtual...

Permission Error: [Errno 1] Operation Not permitted

I am trying to add some .txt files to my code in pyinstaller, but when I do pyinstaller maze.spec, I am getting a permission error. I thought a simple sudo would fix it, but i am still getting the...

Alternative to using __file__ find the binary folder in my python package

I published a library to PyPI ('nmrsim') that has the following structure (edited to only include the relevant files/folders): nmrsim ├── nmrsim │   ├── __init__.py │  ...

PyQT5 QFileDialog issues with Pyinstaller

I'm using PyQt5 with Pycharm and Python 3.7 on Arch Linux (also tried with 3.8). When I run my code from PyCharm or directly from the command line the file dialog opens fine. However, when I build...

no module named pkg_resources.py2_warn pyinstaller

I'm trying to make an executable file (.exe file for windows) for the code here. The main file to run is src/GUI.py. I found that pyinstaller is a better option to create the exe file. I tried...

What if user with eel python doesn't have chrome installed

I want to create an offline app with web UI. I came to know about eel which is much simple than the Electron where I had to bring this node.js into the play. But once I create a exe file with...

Pyinstaller: Could not find QtWebEngineProcess.exe

I installed anaconda and pyinstaller. I compiled my python code with pyinstaller, but I noticed an error messages saying "Pyinstaller: Could not find QtWebEngineProcess.exe"

Pyinstaller PermissionError: [Errno 13] Permission denied: run.exe

I have a flask app that I made into a gui desktop app with flaskwebgui. I am trying to use pyinstaller to make it an executable for distribution to co-workers. I keep getting this error when I am...

Command not found: py installer

I'm trying to make my Python Tkinter GUI a downloadable .app on MacOs I installed pyinstaller using pip3 install pyinstaller and when I run it like this: $ pip3 install pyinstaller ... $...

Pyinstaller & Matplotlib. How to solve: FileNotFoundError: [Errno 2] No such file or directory:..?

with Pyinstaller I'm trying to make a .exe from a python file that uses tkinter and matplotlib. However, every single time I get the following error: FileNotFoundError: [Errno 2] No such file or...

How to compile Python + Electron JS into desktop app (exe)

I created a desktop application using python as the backend and Electron JS integrated with Node JS as the front end. The image below is the file tree for my project. I was able to link up both...

auto-py-to-exe stuck at Loading module hook 'hook-gevent.py'

I am trying to convert the code to exe with auto-py-to-exe. It stuck at "Loading module hook 'hook-gevent.py'...". import time, pyautogui, keyboard, threading from tkinter import * window =...

Python Tkinter with Flask API and Subprocess

Could I run a function from another python file inside subprocess? I use pyinstaller to convert the tkinter to an executable file. As much as possible I would like to deploy/run the .exe file to...

(Pyinstaller) 'tclError: can't find package tkdnd' How can I fix this error?

I'm trying to package my project into an executable file using pyinstaller. main.py, my program, should run when I run the exe file. Exe because program has to run somehow without the user, who is...

PyInstaller: ImportError: cannot import name 'ccompiler' from partially initialized module 'numpy.distutils'

After freezing my program with PyInstaller, I encountered following error while trying to run the executable: ModuleNotFoundError: No module named 'numpy.distutils' After adding numpy.distutils...

OSError: Could not find a suitable TLS CA certificate bundle

when making Api requests to binance , after building main.py to exe using pyinstaller, I get this error: OSError: Could not find a suitable TLS CA certificate bundle, invalid path:...

Pyinstaller "Failed to execute script due to unhandled exception" Error

I made a simple program that works as a .py file, but when I use pyinstaller to make a .exe file, the command prompt opens and closes immediately. By screen recording opening the .exe, I was able...

pyinstaller: ImportError: cannot import name _elementpath

I'm using the command : pyinstaller -w -F main.py And I got this message when I tried to run the exe file: Traceback (most recent call last): File "main.py", line 1, in <module> File...

pyinstaller: No module named 'numpy.distutils'

I am trying to package my python application for other users that dont have python installed. I use pyinstaller. My application has multiple dependencies which I e.g. import via import numpy as So...