Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8289743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:35:19+00:00 2026-06-08T12:35:19+00:00

I have created a GUI program using python and wxpython. It is now ready

  • 0

I have created a GUI program using python and wxpython. It is now ready to be turned into an executable file. I have tried for the last two days following various instructions from py2exe. All instructions for Command Prompt refer to older versions of windows and I’m using windows 7. I have never used Command Prompt before as I’m still new to programming. Is py2exe going to best way to create an executable file or is there a better option?

I have followed instructions on creating a setup.py file and it reads:

from distutils.core import setup
import py2exe

setup(windows = ["Core.py"])

When I enter the command in Command Prompt:

C:\Python27\Cylinderdrawer\python setup.py py2exe

I get the following:

'C:\Python27\Cylinderdrawer\python' is not recognized as an internal or eternal command, operable program or batch file
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:35:20+00:00Added an answer on June 8, 2026 at 12:35 pm

    There are more than two options. You can use py2exe, PyInstaller, cx_freeze and bb_freeze. I enjoy using the GUI2Exe wrapper script that wraps all of these plus py2app (for Macs) as it makes tweaking the settings a breeze.

    As far as I can tell, cx_freeze, PyInstaller and bb_freeze have the newest releases with py2exe’s last release in 2008.

    As for your issue, it sounds like you don’t have Python on your system path. Try typing out the full path to your python instead. Something like this:

    c:\python27\python.exe setup.py py2exe
    

    I don’t know what “Cylinderdrawer” is, but that is NOT a standard location for the Python executable on Windows.

    See also:

    • a py2exe tutorial
    • a GUI2Exe tutorial
    • a cx_freeze tutorial
    • a bb_freeze tutorial
    • a PyInstaller tutorial
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Windows GUI program using C and the Windows API, and
I'm currently writing a program in python with a gui using wxpython. The program
I have created my GUI using wxGlade and it looks fine in the display.
I have created a wizard using the GUI and so my pages are all
I have recently been using WxPython to create a GUI Network simulator like Cisco
I have a GUI window that I've created using Netbeans. I then ported the
I've written a simple GUI program in python using Tkinter. Let's call this program
I created a program with a Swing GUI in NetBeans a while back using
I am using vb.net 2010 and I have created a program that uses sockets
I have created a GUI for starting a Thread which does something very simple.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.