473,378 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Unable to create executable - error: invalid command 'py2exe'

kaarthikeyapreyan
Python version 2.7.1
py2exe installed successfully
version - py2exe-0.6.9.win32-py2.7
py2exe in python path

setup.py
Expand|Select|Wrap|Line Numbers
  1.  
  2. from distutils.core import setup
  3. import py2exe
  4.  
  5. setup(console=['helloworld.py'])
  6.  
Expand|Select|Wrap|Line Numbers
  1. C:\Python27\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'console'
  2.   warnings.warn(msg)
  3. usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  4.    or: setup.py --help [cmd1 cmd2 ...]
  5.    or: setup.py --help-commands
  6.    or: setup.py cmd --help
  7.  
  8. error: invalid command 'py2exe'
  9.  
Jun 1 '12 #1
0 2447

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Robert Hogan | last post by:
Hello, I am attempting to send emails using T-SQL (in a SQLServerAgent Job) using the stored procedure sp_SendSMTPMail. I created the stored proc using the following script that I got off a post...
1
by: Frank Jones | last post by:
When manually running resgen.exe from the command prompt (Visual Studio .NET 2003 command prompt) I get the following error: error: Invalid ResX input. error: Specific exception:...
0
by: Jan Poslusny | last post by:
Hallo, we runs PostgreSQL 7.3.4 on RedHat 9. I initialized dbcluster with --locale=cs_CZ.UTF-8 and created database with --encoding=unicode. But following script generates error: -- -*- coding:...
7
by: Munsifali Rashid | last post by:
Hi, I've built a webservice in C# that can add public folders to Exchange. There's also a component built in VB6 which references the Outlook 10 (XP) DLL, so I can change the default form being...
0
by: Bruce Skelton | last post by:
The vacuum of my db is failing with this error. postgres% ./vacuumdb.sh ERROR: Invalid UNICODE character sequence found (0xed5c30) vacuumdb: vacuum EventManager failed I don't understand...
1
by: Gregor Horvath | last post by:
Hi, I searched the web and docs but cannot figure out whats wrong with this code: #!/usr/bin/python import Tkinter as Tk class testtk(Tk.Frame):
0
by: hungrymind | last post by:
Hi All, I am trying to create automated build server using Nant, WIX with net 2.0. On my local machine when I compile with framework 2.0 it works fine however when I run it on other machine it...
7
by: The|Godfather | last post by:
Hi everybody, I read Scotte Meyer's "Effective C++" book twice and I know that he mentioned something specific about constructors and destructors that was related to the following...
0
by: vedrandekovic | last post by:
Hello, Is there any example how can I create executable from executable with py2exe.For example if I create main executable with some TextEntry ( wxpython ) and then when i write this code into...
0
by: singhPrabhat | last post by:
Hi, I am using 64-bit linux box (Open Suse 10.3 ). I want to create executable for windows box. how can I use Makefile to create executable for windows? I can see some .dll files which I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.