Skip to main content
The 2024 Developer Survey results are live! See the results

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.

pyinstaller
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 ...
esalberg's user avatar
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 “ ...
Borris Kouadja NIANGORAN's user avatar
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 ...
poppycoder's user avatar
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 ...
Roman De Santos's user avatar
-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 ...
RmR's user avatar
  • 2,184
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\...
Saad Abdullah's user avatar
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 ...
조연서's user avatar
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') ...
Guy Lamdan's user avatar
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....
adnanmuttaleb's user avatar
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: ...
r_b's user avatar
  • 1
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 ...
Metaverse09's user avatar
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: ...
Dora Cacari's user avatar
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/...
Stepan Zhemevko's user avatar
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 ...
lbu's user avatar
  • 3
-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 ...
Golden's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
451