46 questions
0
votes
0
answers
52
views
How do I get a font to stay the same when someone runs my tkinter exe on their computer?
I'm trying to create a GUI standalone application using tkinter. There is a font dependency issue while running the script. Getting `
AttributeError: 'NoneType' object has no attribute 'add_file'
...
0
votes
1
answer
98
views
Creating a standalone python executable with pywin32 and missed required module
I'm going to create a standalone python executable that rely on a python interpreter on windows (I don't want to create an exe file).
So, I'm used this helpful article:
https://n8henrie.com/2022/08/...
1
vote
0
answers
44
views
How do I create a standalone app that saves inputs that can be recalled from memory after restarting the app?
Basically: I need a standalone application that keeps all input in memory (even after the program shuts down) and then upon typing "Recall whatever..." can recall whatever fact I replace the ...
-1
votes
1
answer
48
views
How to make a standalone application with resources inside in python?
I need to make an application consisting of exactly one exe file, with resources inside (pictures and fonts). The problem is that I write in pure Python, and I don’t know if there're compilers for ...
1
vote
3
answers
243
views
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 ...
1
vote
2
answers
470
views
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 &...
0
votes
0
answers
218
views
How to send a class with a multiprocessing.Pipe member through the ProcessPoolExecutor in Python3.10
I'm trying to write a progress bar class that supports multiprocessing that will be displayed in a terminal (OS agnostic). I'm aware of packages like tqdm that supports this and have used them before, ...
0
votes
1
answer
63
views
Can I insert a file in my standalone python program to be downloaded by users as a template file
I'm doing python coding self study and not a programmer.. this is my first entry here. Not sure if this is doable, (I have a very little knowledge about programming) but here it is.
Is it possible to ...
2
votes
1
answer
969
views
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() ...
1
vote
0
answers
740
views
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 ...
0
votes
1
answer
2k
views
Cross Platform Python Executable - Mac & Windows?
I used pyinstaller to create an executable file (Desktop GUI). I am on Windows, and the person I am sending it to is on Mac.
I was under the impression that pyinstaller was cross platform, but the Mac ...
2
votes
2
answers
2k
views
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','...
0
votes
0
answers
197
views
Create a python standalone executable for CentOS
I have a python script written to run on a system in our office which runs CentOS. It has Python2.6.6 installed by root user and hence I don't have access to install pip or any other tool. My goal is ...
0
votes
0
answers
182
views
What is the proper way to turn a python app into a standalone app with py2app?
I have built a simple python app with Tkinker, which has a super small sqlite file with it. The app is here, https://github.com/yts61/bookstore_app.git
Having failed in pyinstaller many times, i am ...
0
votes
0
answers
222
views
What is the proper way to use pyinstaller on Mac?
i know many articles about pyinstaller for mac has been written, but i still can't solve my problem after trying lots of them.
I have built a simple python app with Tkinker, which has a super small ...
1
vote
2
answers
3k
views
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....
0
votes
1
answer
2k
views
mayapy/maya.standalone error: No object matches name: .aiTranslator
When I run this in mayapy:
import maya.standalone
maya.standalone.initialize()
import maya.cmds as cmds
cmds.file("/Users/Desktop/test.ma", open=True, force=True)
Then I get this error:
...
1
vote
1
answer
2k
views
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 ...
1
vote
0
answers
197
views
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 ...
0
votes
0
answers
224
views
How can improve the performance of my python standalone app?
I have compiled a python application using pyinstaller. The thing is that I want to execute it on a computer without python installed and I want it to be only one exe file without dependencies.
I ...
1
vote
1
answer
697
views
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....
1
vote
0
answers
140
views
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('...
0
votes
1
answer
162
views
Orange3 as a standalone executable using PyInstaller
I am working in an offline-environment, and am trying to deploy standalone Python-based applications with PyInstaller. I have been successful in all the previous pojects thus far, but for the latest ...
1
vote
2
answers
2k
views
Create standalone environment for Python [duplicate]
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, ...
0
votes
0
answers
36
views
Python app converted as standalone for Windows with Pyinstaller works but takes 23 sec to launch
I made an app with Python 3.7 and PyQt5 which works fine on Windows 10 without problem and launches rapidly (<1 sec) when launched it from the text editor. I then converted it with PyInstaller in a ...
-1
votes
1
answer
227
views
Issue when running xlwings python standalone fibonacci example
When running the standalone example from xlwings I am faced with the following error: .
When I debug I am faced with the code falling over on this line:
The log file its trying to open contains ...
0
votes
1
answer
803
views
Fail to build a standalone executable file on MacOS
I want to make a standalone executable out of a script on a MacOS (10.14).
The script is my_app.py and has the following content:
#!/usr/bin/env python
import os.path
import csv
import pandas as ...
1
vote
1
answer
828
views
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 ...
0
votes
1
answer
339
views
compile python application with setup.py
I already pointed at the problem of exporting my pygame into an executable for distribution purpose. I still have the problem that when I run the setup.py (I use python version 3.7.0) and build the ...
1
vote
2
answers
2k
views
Data storage for standalone python application
I want to make a python program (with a PyQt GUI, but I don't know whether that is relevant) that has to save some information that I want to store even when the program closes. Example for ...
0
votes
1
answer
567
views
Python script "standalone"
I've recently started writing python scripts and I'm still newbie to the language.
I'm stuck with a problem: My script requires the 'requests' library(and the other packages that comes with it when ...
0
votes
3
answers
1k
views
Handling usernames in file paths using Python
I'm writing a program that I would like to make a stand alone for my company. It works perfectly when I run it from the sublime text shell and I have everything set up to go except one issue that I ...
0
votes
1
answer
161
views
Py2app fails with scrapy
If been trying to create a standalone version of my project. I've been able to create the setup file and the alias app with py2app with no problems. Running the alias app works without problems. ...
3
votes
1
answer
2k
views
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 ...
0
votes
1
answer
530
views
Python code compiled to a standalone program with Nuitka reports win32file.pyd import error
Program compiled on Windows 10 amd64 machine fails to start on Windows server 2008R2 amd64 with error:
ImportError: LoadLibraryEx 'path\to\dist\folder\win32file.pyd' failed
Nuitka version: 0.5.29.1 ...
1
vote
1
answer
3k
views
Python standalone compiling with Nuitka
I'm having trouble compiling a simple python script into a standalone executable file. I coded a CLI tool to deploy our front-end app easily but despite trying every combination of parameters I could ...
0
votes
1
answer
1k
views
Is there a way to connect repl.it with data in local drive?
On repl.it, I tried to call the path I know it exists, but it gave me an error.
Code:
import os
print os.path.exists('C:\Users\')
Error:
SyntaxError: EOL while scanning string literal
exited with ...
1
vote
2
answers
394
views
How to write and run python codes on web browser without OS installation?
For various reasons, I can't install a full python into my Windows machine.
With that constraint in mind, how can I write and run python without installation in my desktop, and particularly on web ...
0
votes
1
answer
737
views
Easier way to create python executable standalone program in window
Creating a python executable in pycharm is harder than creating it in visual studio or creating a vb.net executable.
I thought I'd understand how to do this already but it looks like I have not.
I ...
0
votes
1
answer
69
views
Create a python programm standalone on windows 7 [duplicate]
I'm beginner on python,
I'm developing a Python 3 application on my own computer (LINUX) and
I have to give a final standalone version on Windows 64 to my teacher.
My question is how to compile a ...
-1
votes
2
answers
312
views
Create standalone text application from Python [closed]
I am developing a program to use as a pedagogical tool in my classroom. I'm writing currently writing it in Python, but I'm also open to solutions that would use C. I want to create a standalone ...
3
votes
1
answer
2k
views
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 ...
0
votes
1
answer
2k
views
Making a standalone python script that can be run by another software
I am currently interning at a place where they've asked me to make a standalone python program to do something (say X).
Now, that program is to be run by some commands sent by their proprietary ...
2
votes
0
answers
193
views
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 ...
1
vote
1
answer
6k
views
cx_freeze with Tkinter & matplotlib backend, No module named FileDialog
Using cx_Freeze to build simple matplotlib applications work great, however i'm running into a problem when attempting to create a standalone executable from a Tkinter & Matplotlib app.
Here's a ...
0
votes
1
answer
829
views
Python GUI2Exe Application Standalone Build (Using Py2Exe)
I am trying to build a Python Script into a stand alone application. I am using GUI2Exe. My script uses selenium package. I have it installed.
Project compiles fine and runs on python command line ...