Python Forum
How to install project on user machines
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install project on user machines
#1
Hello,

I'm new to Python, but not to programming.

I made a small, but useful application in PyCharm (v2020.2.3) that I'd like to move to user machines.

What is the best way to bundle/package/freeze/deploy what I've done and install it on other machines?

Thanks!
Reply
#2
Is there going to be python available on the target machines?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
It depends.

If Windows machines, pyinstaller is good for creating an executable for small projects
If you are less sure of the OS's (and, say, want to include Chromebooks), then web deployment with Flask would be a good idea.

If it's more a command line interface and no GUI, you might figure out something with Colab (colab.research.google.com). You pick up the Chromebooks and it is web based.
metulburr likes this post
Reply
#4
Thank you both for your responses.
  • This will be another Windows machine.
  • It is a small project with GUI.
  • It includes a couple of imports like pyodbc, pyqt, and pandaas.
  • I could load Python, but I'd really rather have that be part of the deployable package.

I'll check out Pyinstaller and see if that's a good fit.
Reply
#5
pyinstaller is probably what you look for. It will produce exe.
But you may also look at pynsist. It will bundle python into the installer

That is if you want to distribute python along with your code
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install module with pip3 on a non root user matthewpintor2107 1 446 Apr-28-2020, 03:16 PM
Last Post: pyzyx3qwerty
  Logged On User - Remote Machines mickrobinson567812 0 215 Apr-20-2020, 11:43 AM
Last Post: mickrobinson567812

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020