Python Forum
Python 3.6 Alternatives to Cx_Freeze
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.6 Alternatives to Cx_Freeze
#1
I don't want to seem unappreciative regarding cx_freeze, but I'm between a rock and a hard spot.
  • I've got python code built that does just what it to do.
  • I tried installing PyInstaller only to find that it's not supported on Python 3.6 at this time.
  • I was successful in installing cx_freeze but am disappointed on two fronts. 1) It doesn't have an single file executable option and 2) the frozen copy of my code doesn't work; throwing an error that doesn't appear with the interpreter.
  • The machine I need to run this on can't have Python installed so it must be an executive.

So I'm thinking that maybe if I can get another Py to Exe utility working on my Python 3.6 that it might just work like the raw python code does.

Any suggestions should have a wheel file option, because in the network environment that I'm am working in, the pulls from the internet sources are blocked.

Any suggestions? I need to get this program up and working.

Thanks much!
Kip...
Through a cloudy window,
Kip...

“Progress means getting nearer to the place you want to be. And if you have taken a wrong turn, then to go forward does not get you any nearer.
If you are on the wrong road, progress means doing an about-turn and walking back to the right road; and in that case the man who turns back soonest is the most progressive man.” ― C.S. Lewis
Reply
#2
(Jan-13-2020, 05:24 PM)KipCarter Wrote: I tried installing PyInstaller only to find that it's not supported on Python 3.6 at this time.
PyInstaller works under 3.6:

Quote:PyInstaller’s main advantages over similar tools are that PyInstaller works with Python 2.7 and 3.5—3.7,

Please, elaborate what problem you have with using pyinstaller
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
perhaps visit: https://realpython.com/pyinstaller-python/
Reply
#4
My issues with getting PyInstaller up and going were not PyInstaller itself, but it's dependencies.

The network I work on is highly restrictive when it comes to automated downloads. Each time one of the routines attempts to pull data down the network rules block it. If they don't have whl files for the dependency then I'm stuck.

I managed to get as far as pefile but once I encountered it, I was unable to find a whl file for it or a package that included it. Therefore, that was the end of that path.

I've got Py2exe loaded up, if i can just find some clear information on configuring a setup.py for it I should be home free.
Reply
#5
there is wheel for pefile from Gohlke:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
direct link: https://download.lfd.uci.edu/pythonlibs/...ne-any.whl
I would continue trying to install pyinstaller as py2exe is not updated since 2014

here is the official page as well tutorial on py2exe https://www.py2exe.org/index.cgi/Tutorial
https://www.py2exe.org/index.cgi/FrontPage
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
#6
(Jan-14-2020, 11:05 AM)buran Wrote: there is wheel for pefile from Gohlke:
https://www.lfd.uci.edu/~gohlke/pythonlibs/

This is awesome! the pefile failed because it tried to downloads future. but the page has future whl's so I pulled down the appropriate one which installed without an issue, then redid the pefile whl, which installed without a hitch.

I'm going back to try and get my PyInstaller up now. Thanks!

Kip...

(Jan-14-2020, 11:05 AM)buran Wrote: I would continue trying to install pyinstaller as py2exe is not updated since 2014

Buran! You gave me the key... that link got me out of the wood and now I have PyInstaller setup on Python 3.6. I'm going to have great day now getting my single file binary up and going! Whoots!

Dance Dance Dance

Thanks,
Kip...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Eliminating error in Python update-alternatives Led_Zeppelin 2 2,942 Apr-14-2021, 12:49 PM
Last Post: Led_Zeppelin
  Problem with cx_freeze app only on one pc floatingshed 0 1,768 Mar-19-2021, 05:19 PM
Last Post: floatingshed
Exclamation Help with cx_Freeze mederic39 3 2,834 Jan-31-2021, 12:05 PM
Last Post: snippsat
  Selecting rows that contain certain values using two alternatives tgottsc1 1 1,551 Jan-24-2021, 08:34 PM
Last Post: nealc
  Are there any python alternatives for LuaMacros? NathanStanley 1 3,742 Apr-07-2020, 09:51 AM
Last Post: Larz60+
  cx_freeze frozen executive introduces WinError 10049 KipCarter 3 3,089 Jan-14-2020, 02:34 PM
Last Post: KipCarter
  cx_freeze exe does not work? Skycoder 4 6,260 Jan-13-2020, 06:50 PM
Last Post: KipCarter
  How to get cx_Freeze to make folders mad_accountant 0 3,036 Nov-24-2019, 02:22 PM
Last Post: mad_accountant
  docx module alternatives Clunk_Head 0 3,979 Nov-13-2019, 03:12 PM
Last Post: Clunk_Head
  cx_freeze setup.py error: No module __SNMP-FRAMEWORK-MIB nacho 8 8,857 Jul-26-2019, 09:33 PM
Last Post: njmatt415

Forum Jump:

User Panel Messages

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