Questions tagged [pyinstaller]
PyInstaller is a multi-platform tool designed to convert Python (.py) files into stand-alone executable files on Windows, Linux, macOS, Solaris, and AIX.
6,758
questions
0
votes
0
answers
16
views
Running python scripts within pyinstaller without venv
I have created an application with pyinstaller that builds to a Windows executable, so a user can open it and from a friendly UI select a python script from a list, and then run it (all within this ...
0
votes
1
answer
14
views
create a .exe kivy program with a pyinstaller
I have a .py file called calculatrice.py and another .kv file called calco.kv. I am trying to produce an .exe with pyinstaller. Despite the instructions I followed in the kivy ‘Programming Guide “ ...
0
votes
0
answers
11
views
Pyttsxy not playing audio when converted to executable
I have built a chatbot that allows users to replay the latest message. The replay function is connected to the tkinter GUI, and uses pyttsx3 to "speak" an output when a replay button is ...
0
votes
0
answers
114
views
How to setup Webdriver manager to use chromedriver in a MacOS app compiled with PyInstaller?
In my python script I am currently using webdriver_manager (text) to install the chrome webdriver. This webdriver is used to create a Selenium driver to navigate websites and collect HTML data. This ...
-1
votes
1
answer
31
views
Python subprocess FILE NOT FOUND error when executing a PyInstaller generated file in Linux from a shared VOLUME under DOCKER
I have generated an executable, say,test (no extension since it's Linux) using PyInstaller and stored it in a directory, say data.
I have a Python program that is as below:
import subprocess
from ...
0
votes
0
answers
22
views
PyInstaller Error after converting py to exe but not running on other PCs
Traceback (most recent call last):
File "C:\Users\lenovo\AppData\Local\Temp\_MEI144842\test_suite.py", line 3, in <module>
import asyncio
File "C:\Users\lenovo\AppData\...
0
votes
0
answers
30
views
Error while converting my .py file to .exe file with pyinstaller
I'm trying to convert my .py file to .exe file with PyInstaller.
The .py file, which worked perfectly on Jupyter lab, is not working perfectly in the exe file.
This part of the code is causing the ...
1
vote
0
answers
44
views
TypeError: expected string or bytes-like object, got 'NoneType' when running Pyinstaller with imports
I am trying to create an executable file from Python, but I receive the errors below. I created a clean environment and tried to reproduce the issue only with imports and a simple print('Hello World') ...
0
votes
1
answer
31
views
How to register Django hooks with PyInstaller
I want to use the Django hooks in Pyinstaller. I have tried the following:
python -m PyInstaller
--runtime-hook='hook-django.contrib.sessions.py'
--runtime-hook='hook-django....
0
votes
0
answers
41
views
.exe file, works different than .py file
I've made the YouTube Dowbloader App, and everything is working properly (run in PyCharm), but when I try to make it executable with pyinstaller, it's not working.
This is the link to the repo:
...
0
votes
1
answer
42
views
How can i execute this command without needing to execute it manually everytime i open the EXE
i used pyinstaller to make an exe out of my python project. when i tried to execute the EXE file i encountered the following error.
Traceback (most recent call last):
File "main.py", line ...
0
votes
0
answers
19
views
Pyinstaller: Spec File Not Found
Pyinstaller is unable to locate my spec file to build my application.
This error occurs:
E:\Hqtools\scan-certyify\app>CALL ..\venv\Scripts\activate.bat
1923 INFO: PyInstaller: 6.9.0, contrib hooks: ...
0
votes
0
answers
38
views
exe file of my scrapy spider extracts only the first page [duplicate]
I have this spider script:
import scrapy
from scrapy.crawler import CrawlerProcess
class BookSpider(scrapy.Spider):
name = "book"
start_urls = {
'https://books.toscrape.com/...
0
votes
2
answers
53
views
Getting TypeError when trying to convert a python file into an executable with pyinstaller
The intention is later on, to send questions via command lines to GPT4all and store the answer in a text document.
I wanted to convert the prevent code to an exe, but it produced an TypeError.
Here is ...
-2
votes
1
answer
42
views
i have a problem using pyinstaller in my CustomTkinter project
I've been working on this project for a while: a virtual whiteboard written entirely in Python using CustomTkinter and tkinter, I recently added an "extension" of CustomTkinter called ...