Python Forum
cx_freeze exe does not work?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cx_freeze exe does not work?
#1
Hi All

I have a very simple python file that I need to run of an exe. The program works perfectly through python console but when running the exe it does not produce an html file as it should.
Not sure if there is some dependencies needed to be included or what?
Please Help!

Program:
import folium
map = folium.Map(location=[-12.0742614,34.9538616],zoom_start=15)
map.add_child(folium.Marker( location=[-12.0742614,34.9538616], popup='TestLocation',icon=folium.Icon(color='orange')))
map.save("Map.html") 
cx_freeze setup file:
from cx_Freeze import setup, Executable
setup(name = "map1" ,
      version = "0.1" ,
      description = "" ,
       options = {'build_exe': {'excludes':excludes,'packages':packages,'includes':includes}},
      executables = [Executable("map1.py")])
Reply


Messages In This Thread
cx_freeze exe does not work? - by Skycoder - May-19-2018, 12:39 AM
RE: cx_freeze exe does not work? - by Larz60+ - May-19-2018, 02:06 AM
RE: cx_freeze exe does not work? - by KipCarter - Jan-13-2020, 05:28 PM
RE: cx_freeze exe does not work? - by KipCarter - Jan-10-2020, 05:26 PM
RE: cx_freeze exe does not work? - by KipCarter - Jan-13-2020, 06:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with cx_freeze app only on one pc floatingshed 0 1,813 Mar-19-2021, 05:19 PM
Last Post: floatingshed
Exclamation Help with cx_Freeze mederic39 3 2,914 Jan-31-2021, 12:05 PM
Last Post: snippsat
  cx_freeze frozen executive introduces WinError 10049 KipCarter 3 3,192 Jan-14-2020, 02:34 PM
Last Post: KipCarter
  Python 3.6 Alternatives to Cx_Freeze KipCarter 5 5,068 Jan-14-2020, 11:51 AM
Last Post: KipCarter
  How to get cx_Freeze to make folders mad_accountant 0 3,109 Nov-24-2019, 02:22 PM
Last Post: mad_accountant
  cx_freeze setup.py error: No module __SNMP-FRAMEWORK-MIB nacho 8 9,045 Jul-26-2019, 09:33 PM
Last Post: njmatt415
  Error in build using cx_freeze with psychopy based animation olivyac 0 2,926 Sep-19-2017, 07:55 PM
Last Post: olivyac

Forum Jump:

User Panel Messages

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