Questions tagged [python-standalone]

44 questions
1
vote
2 answers

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 information I want to store: The user can search for a…
Freya W
  • 487
  • 3
  • 11
1
vote
1 answer

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 give to Nuitka, I never manage to get a working…
1
vote
2 answers

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 browsers? I have come across the Jupyter demo, but…
KubiK888
  • 4,377
  • 14
  • 61
  • 115
1
vote
1 answer

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 minimal example which would reproduce the…
Syntactic Fructose
  • 18,936
  • 23
  • 91
  • 177
0
votes
0 answers

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, but this is for a project where I want to only…
0
votes
1 answer

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 insert a file, like a template, for the user to…
la_mun
  • 5
  • 3
0
votes
0 answers

My forms in python overlap each other. How can I solve this?

I have a project in Pyhton with some windows/form on Win11, but when I try to link a window with another one, they overlap. I want to show a window one at a time, but I don't see anything in the code to achieve this behaviour. The forms were created…
0
votes
0 answers

Py2Exe crashes when building code archive

I am writing you my issue because even after many hours on google I can't find any related issue that I have. I am trying to make an executable of a python program on w10 but I cannot achieve it with py2exe. I can't understand the error I get. I…
Wolf
  • 11
  • 2
0
votes
1 answer

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 user gets an error when trying to run the app.…
0
votes
0 answers

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 to create a standalone executable such that users…
0
votes
0 answers

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 turing to py2app in the hope to make one standalone…
yts61
  • 1,142
  • 2
  • 20
  • 33
0
votes
0 answers

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 sqlite file with it. The app is here,…
yts61
  • 1,142
  • 2
  • 20
  • 33
0
votes
1 answer

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: RuntimeError: file: /Users/Desktop/dad.ma line 26: The camera…
Frank
  • 2,109
  • 7
  • 25
  • 48
0
votes
0 answers

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 have tried both "onefile" and "onedir" compilations…
Ipa
  • 109
  • 1
  • 8
0
votes
1 answer

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 one involving Orange3, I have the following…
Stoner
  • 846
  • 1
  • 10
  • 30