Questions tagged [pyinstaller]

PyInstaller is a multi-platform tool designed to convert Python (.py) files into stand-alone executable files in Windows, Linux, and Mac OS X, Solaris, and AIX.

0
votes
0answers
9 views

Using text files with pyinstaller

Im trying to package a simple script in pyinstaller where a user can download the directory and run the .exe file with no problem. My question is, how do i get the .exe file to find the text file the ...
0
votes
0answers
17 views

Is It Possible to Reduce File size with Pyinstaller when using Pandas

I'm using pyinstaller to generate an executable from my code. That is working as expected. The problem is the file size being over 30 MB. I only need the methods read_csv and read_excel from the ...
0
votes
0answers
26 views

How to create an python executable file when some arguments are required

I got an app from github, that downloads the course, because my internet connection is instable, and having the videos downloaded I don`t stop studying.The app works properly, but now I am trying to ...
0
votes
0answers
8 views

Error packaging pandas into single exec with pyinstaller (Anaconda)

I'm using Python 2.7 with the Anaconda distribution and Pyinstaller 3.3.1. I also set up an environment and only installed the libraries listed below, and Anaconda installed the necessary dependencies....
1
vote
0answers
18 views

Pyinstaller EXE's __file__ refers to a .py file

Situation: My Python script has a line of code that copies itself to another directoryshutil.copyfile(os.path.abspath(__file__), newPath)Problem: The script is then compiled into an EXE and ran. ...
0
votes
0answers
14 views

Python logging isn't work when running an exe

I am running a Service that points to my python exe (I used pyinstaller to generate the exe).While this Service is running, Python logging is not logging anything into the log files.However, when ...
1
vote
1answer
12 views

pyInstaller exe failed because it did not include a module

Situation: Building an EXE from a python script that encrypts things.Problem: The EXE always fails as it cannot find modules that I have imported (Crypto).Question: Is there a flag I need to turn ...
0
votes
0answers
15 views

Python Gif image inside Tkinter GUI. Using Pyinstaller, how to set it up?

I've got a animated gif image which I would like to add inside my Tkinter GUI.Thanks to stackoverflow I found how to make the gif running as animate#Imageframelist=[]for ix in range(1000):...
0
votes
0answers
12 views

Reducing the number of modules added to a pyinstaller build?

I've got two separate issues but one probably isn't hard to figure out, I have a ton of missing module named name - imported by whatever errors in my warnmain.txt file and I've gotta get that figured ...
0
votes
0answers
17 views

Exe does not run because of searching for file on computer

When I include the following snippet in my code the exe created using PyInstaller does not run. If I add the location of the file directly, the exe works fine. I would like to know why this happens....
0
votes
0answers
20 views

my .py works but my .exe dosnt because of pandas

here is my whole code, it works perfectly if i run it in cmd,C:\Users\Pablo\Deskop>python proyect.py, or in pycharm. But after i make a .exe with pyinstaller like C:\Users\Pablo\Deskop>pyinstaller ...
0
votes
0answers
8 views

Python - .exe with PyInstaller crashes after launch

So I just converted my .py script into an .exe file using PyInstaller. But when I try to launch the .exe file, it starts then instantly crashes. It runs fine when I directly launch it from the .py ...
0
votes
0answers
6 views

pyinstaller sqlite3.dll access denied

I am new to pyinstaller so this might be a silly problem but here's my issue.I am on Windows 10, 64bit with Anaconda distribution.I have a python2.7 application which uses sqlite3.When I run the ...
0
votes
0answers
12 views

pyinstaller accessing data in a folder hierarchy

I am developing a python pyqt programm in eclipse and try to freeze my code using pyinstaller. I encounter some trouble with the use of .db files for shelve. My trouble is how to declare the path to ...
1
vote
0answers
21 views

Variables wrong after python script conversion. They belong to the moment of conversion

I have a python script that I converted with pyinstaller.pyinstaller -F "myscript.py" # it's the command I usedFor example, myscript.PY does some commands to retrieve a variable of a path:path=...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,