Questions tagged [pyinstaller]

PyInstaller is a versatile program created to transform Python script files (.py) into autonomous executable files across various operating systems including Windows, Linux, macOS, Solaris, and AIX.

The Chromedriver Manager fails to download after being converted to a .exe file using PyInstaller

Hello everyone at Stackoverflow, I have been using Selenium and Python to automate a task successfully in myscript.py. In an attempt to convert it to myscript.exe, I used the following command with PyInstaller: PyInstaller --onefile --windowed --icon=&quo ...

Pyinstaller error: File cannot be found at 'C:\Users\my.name\Desktop\EPE 2.0\dist\main\timezonefinder\timezone_names.json'. It seems to be missing

Whenever I attempt to run my executable file generated by pyinstaller (using the latest version, Python v3.6 in an Anaconda environment), I encounter the following error: File "site-packages\timezonefinder\timezonefinder.py", line 27, in <mod ...

What are the best practices for distributing a Python application in a professional manner?

I am seeking guidance on the proper steps for deploying a desktop python application, specifically generating a trusted executable and installer. Although I am a mechanical engineer, I have been involved in programming for several years. However, as I am ...

PyInstaller reminds you that you have the option to load I/O plugins by using the `skimage.io.use_plugin` function

When using Pyinstaller to package a Python script Pyinstaller version 3.2 Operating System: Ubuntu Traceback (most recent call last): File "<string>", line 57, in <module> File "<string>", line 29, in feature_extract File "caffe/ ...

Python-powered C/C++ Distributed Engine

Currently, I am utilizing a C based OCR engine called tesseract in conjunction with Python interface library pytesseract to leverage its primary functionalities. The library essentially accesses the local contents of the installed engine for utilization ...

Struggle encountered while incorporating "shape_predictor_68_face_landmarks.dat" file into the conversion process with pyinstaller on MacOS

Working on a code that utilizes the dlib module in Python, there are two crucial lines within the script predictor_path = "./shape_predictor_68_face_landmarks.dat" predictor = dlib.shape_predictor(predictor_path) The code functions smoothly when executed ...

What is the best way to create an executable file from a Python package using pyinstaller?

I have developed a Python command line program that is open source and compatible with Python 2.7, Python3+, and works across different platforms. My goal now is to package this program into an executable for my Windows users in a more user-friendly way. ...

Issues with sv_ttk and pyinstaller

Hey everyone, I'm having trouble getting this code in .py to work when compiling it to .exe with PyInstaller, even with the --onefile option. #imports > from tkinter import * from tkinter import ttk import sv_ttk as sv #< imports #definitions ...

When working with Auto-py-to-exe and the MULTIPROCESSING library, an error occurred: UndefinedEnvironmentName: The 'extra' variable is not present in the evaluation environment

I am currently attempting to compile my Python application into an .exe file that I typically run using the server.py script. My approach involves using Auto-py-to-exe in one directory mode, which results in the following command: pyinstaller --noconfirm - ...

Pyinstaller is throwing an error message stating that it is unable to load AutoItX from the

When running my program from the command line, everything works perfectly fine. Now I need to create an Executable file, so I attempted to use pyinstaller. However, it seems that pyinstaller is unable to recognize the autoit module when automatically analy ...

Pyinstaller is generating a dist folder with no files in it

In my case, I am using Python 3.9.x and Pyinstaller 4.9 which is said to be compatible with all Python versions. Additionally, I am operating on Ubuntu 21.10. My Python project consists of one .py file and one .kv file. I even attempted it with just the .p ...

Issue with building PyQt6 PyInstaller application for MacOS (M1 chip) causing inability to launch

My goal is to develop a python desktop application using PyQt6. I attempted to convert it into a clickable app with pyinstaller, but encountered an "app closed unexpectedly" error when trying to run the app from finder. Similarly, running the app from term ...

Tips for deploying a PyCharm project that includes Kivy and mapview integration

I have a Python Project built using Kivy and a MapView. I do my development work in PyCharm, and everything runs smoothly when I test the project within the IDE. I also decided to try compiling and running the project using the python IDLE, and surprisingl ...

Access denied: Unable to run pyinstaller on path C:PythonScriptsuild due to

I encountered an error while attempting to convert my Python script into an exe file. Here's the script: from tkinter import * import os import tkinter.messagebox root = Tk() root.title('BTCLoot - Loot BTC from your home!') logoutButton = B ...

Display on the terminal screen indefinitely

Recently, I delved into the world of Python and out of boredom, I decided to create a basic password generator. Below is the code snippet: import random upper = "ABCDFGHIJKLMNOPQRSTUVXYZ" lower = "abcdefghijklmnopqrstuvxwyz" numbers = ...

The Python script runs into a fatal error and displays an error message

A python script has been developed to interact with a web page and place an online order. The script includes a GUI feature that allows users to select the desired day for their order. Below is the Python code: import easygui import sys from selenium impo ...

Issue encountered while using pyinstaller: UnicodeDecodeError: 'utf-8' codec is unable to decode byte 0xb3 at position 4055: starting byte is invalid

Having trouble compiling a Python code using pyinstaller. The python code includes packages such as os, datetime, python-pptx, and tqdm. When running the following line for compilation: C:\test>pyinstaller -F Final_ver.py An error message is dis ...

The Pyinstaller exe-generated tkinter GUI is not functioning properly

I recently used Pyinstaller to convert my Python script into a stand-alone executable program. However, I encountered an issue where the exe version of the program did not work as expected, even though it ran perfectly fine in spyder during testing. Progr ...

The error message "Pyinstaller cannot find the module 'pyfiglet.fonts'" is commonly encountered when using Pyinstaller

Hello, I'm attempting to export my Python Selenium project using PyInstaller. However, every time I try it, the process is successful but when I launch the .exe file, I encounter this error: ModuleNotFoundError: no module named 'pyfiglet.fonts&a ...

Using Python Selenium, I am attempting to upload an image to Instagram

Once I've dealt with the notification, my goal is to click on the create button, select an image, and then click the next button. Can someone assist me in uploading photos to Instagram? Here's my code: `def upload_images(username, password, image_folder): ...

Encountering issues with the functionality of the Pyinstaller executable file

After creating an executable using pyinstaller, I faced an issue where the executable file would open a blank cmd window that closes after a few seconds. Interestingly, when I run the python file directly using python file.py in the command prompt, it work ...

Troubleshooting Chrome driver version conflict with Selenium and PyInstaller in Python

Currently, I am utilizing the Google Chrome driver to automate various functions. To execute it, I have included this line in my code: driver = webdriver.Chrome(ChromeDriverManager().install()) Surprisingly, everything works smoothly when I run the progra ...

Creating a standalone executable file using pyInstaller

Is there a way to use the one folder mode of pyInstaller without collecting all dependencies every time? Typically, I find that I can reuse previously packaged dependencies and only need the executable. By stopping the process after building the .exe file ...