Questions tagged [python-standalone]
44 questions
3
votes
1 answer
How to compile multiple subprocess python files into single .exe file using pyinstaller
I have a similar question to this one:Similar Question.
I have a GUI and where the user can input information and the other scripts use some of that information to run.I have 4 different scripts for each button. I run them as a subprocess so that…

MoeAvera
- 35
- 4
3
votes
1 answer
Is it possible to run Python without installation (without using packagers like py2exe)?
We have a complex tool (coded in Python) for environment validation and configuration. It runs on various Windows flavors. We used this tool within the company so far. However now we want our support engineers to use it on the road. The problem is…

nLogN
- 53
- 4
2
votes
2 answers
Py2App error: ModuleNotFoundError: No module named 'cmath' when using Pandas
I am trying to build a standalone app that utilises Pandas. This is my setup.py file:
from setuptools import setup
APP = ['MyApp.py']
DATA_FILES = ['full path to/chromedriver']
PKGS = ['pandas','matplotlib','selenium','xlrd']
OPTIONS = {'packages':…

Pier
- 133
- 2
- 10
2
votes
0 answers
clipping rasters using python in tkinter
I am still a novice in python, besides that am trying to come up with stand alone program to carry out several geoprocessing processes i.e. clipping , creating hillshade and slope. Am using Tkinter to create the GUI for the stand alone. I have…

Geomat Ian
- 21
- 2
1
vote
3 answers
How to convert a python function (with parameters) into a standalone executable?
I have a python pandas function that uses some libraries and takes in a couple of parameters. I was wondering if it is possible to convert a python function with parameters to an application (so, .exe file). Would pyinstaller do the trick in this…

Diamoniner12345
- 414
- 2
- 10
1
vote
2 answers
TemplateNotFound jinja2.exceptions.TemplateNotFound: login.html
this the error which is occurring after the code is converted to exe file
the error exception
the code
Traceback (most recent call last):
File "flask\app.py", line 2213, in _call_
File "flask\app.py", line 2193, in wsgi_app
File…

sky scraper
- 13
- 2
1
vote
1 answer
Measure : ipython timeit vs timeit method
the timeit module timeit() method returns the total time, but ipython %timeit returns much more information f.e.
In [17]: %timeit sa.sum() …

sten
- 7,028
- 9
- 41
- 63
1
vote
0 answers
pyinstaller hidden import tensorflow._api.v2.compat.v1.keras.experimental when packing flask web application. Hook is unable to find from site-package
Trying to distribute a program that relies on tensorflow...
I am using pyinstaller to convert the flask web app to standalone exe file using following command
tensorflow==2.5.0 and
Python 3.9.4 cannot pack tensorflow hidden packages
How to resolve…

Rahul Gupta
- 9
- 3
1
vote
1 answer
Matplotlib Usage in Standalone (Exe) Python File
I am failing to create a working exe file from my Python script. I was able to narrow it down to matplotlib usage, but I do not know how to fix.
I create exe file, using pyinstaller --onefile myScript.py command. exe is created with some "ignored"…

neder
- 13
- 3
1
vote
1 answer
Value error '/anaconda3/lib/libpython3.7.dylib' does not exist?
so I've created a virtual environment in my iterm2 window. this is the ques I asked earlier which has not been solved yet and my app is not running is alias modeso i tried to do the whole process again but it was showing error with plistlib so that…

Divya Bansal
- 23
- 4
1
vote
0 answers
Problem When Making Stand-Alone App in Python
I've recently created a GUI application using tkinter in python. When i create the application in 'Alias mode' using:
python3 setup.py py2app -A
The application is created and everything works as intended with no issues. I did this to ensure that…
user13215247
1
vote
1 answer
how to solve fbs error 'Can not find path ./libshiboken2.abi3.5.13.dylib'?
I have been able to freeze a Python/PySide2 script with fbs on macOS, and the app seems to work.
However, I got some errors from the freeze process stating:
Can not find path ./libshiboken2.abi3.5.13.dylib.
Does anyone know how to fix that?

Thomas
- 11
- 1
1
vote
0 answers
PyInstaller Orange3 __main__ Python script with call to script in different folder not working
I am trying to run orange (forked as orange3-master and downloaded from https://github.com/biolab/orange3) with the following script run.py:
if __name__ == '__main__':
import os
os.chdir('orange3-master/Orange/canvas')
os.system('python…

Stoner
- 846
- 1
- 10
- 30
1
vote
2 answers
Create standalone environment for Python
I'm developing a tool based on Python, and I need to distribute this tool for users without technical skills. My way to distribute the tool was to create an installer with all the requirements, including the python executable and the libraries.
For…

Juliano Oliveira
- 868
- 1
- 9
- 29
1
vote
1 answer
Understanding the fix for the known bug: cx_Freeze & Python 3.7
I have been trying to create a standalone GUI app for Mac OSX based on a python 3 script (version 3.7). The .py script works perfectly when launched directly from the terminal. However this is for my father that needs assistance when downloading a…

Nootaku
- 217
- 3
- 14