2
I have an app made in python that pulls several Imports, and my client does not want to install Python in his environment (because it is an Oracle server), the output I found was to create one . exe however when I create the same (using pyinstaller) while trying to do the test on Windows it does not open (than the file is not recognized), I use one of this linux with:
- Python 2.7
- Python 3.5
- Python 3.8
Follow the imports that use in the application
import glob, os, time, datetime
PS: While testing in windows I copy both dist and build folder.
Someone can give me a light?
@EDIT
Following the tip, I did the same process (CMD > pyinstaller Arq.py), now windows comes to recognize but when trying to run it presents the error below: When running Python itself, it runs bboa the script (this script connects to the database and takes some information)
I believe it would be ideal for you to put the steps of how you generated this
exe
also.– Woss
Did you use the pyinstaller on this linux with Wine? If not it compiles only for linux... Because pyinstaller uses some native OS files to generate the executable.
– danieltakeshi
danieltakeshi thanks you for the tip, I will upload a VM with python and install the pyinstall in it and do the test Aja put here the return
– user68537
The solution to the problem must be in the area of answers, not in the question, as well as putting "SOLVED" in the title is unnecessary, since you have already accepted an answer, indicating that it solved the problem.
– Woss
Possible duplicate of How to create a python " *.exe" executable?
– sbrubes