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 ...
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 ...
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 ...
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/ ...
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 ...
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 ...
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. ...
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 ...
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 - ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 = ...
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 ...
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 ...
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 ...
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 ...
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): ...
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 ...
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 ...
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 ...