SunQuest
           Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old November 9th, 2003, 12:40 AM
xlordt's Avatar
xlordt xlordt is offline
Only the strong survives!!.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2003
Location: A World of wonder.
Posts: 5,537 xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Weeks 1 Day 21 h 42 m
Reputation Power: 378
Send a message via ICQ to xlordt Send a message via AIM to xlordt Send a message via MSN to xlordt Send a message via Yahoo to xlordt Send a message via Google Talk to xlordt Send a message via Skype to xlordt
Facebook
conversion to exe error

Ok i tried converting a .py script in to .exe just to see how it was and how it works.. but.. hehe just as i expected error's arg
can anyone tell me what this error means


Code:
**********
warning: py2exe: * The following modules were not found:
warning: py2exe: *   Carbon.Folder
warning: py2exe: *   Carbon.Folders
warning: py2exe: *   ctypes
warning: py2exe: *   fcntl
warning: py2exe: *   hexdump
warning: py2exe: *   pythoncom
warning: py2exe: *   pywintypes
warning: py2exe: *   win32api
warning: py2exe: *   win32com.client.gencache
warning: py2exe: *   win32con
warning: py2exe: **********************************************



after that i realized that i was running it wrong.. then i get this error

Code:
warning: py2exe: could not parse version number ''
No VersionInfo will be created


and how do i solve them.. thanx

Last edited by xlordt : November 9th, 2003 at 01:03 AM.

Reply With Quote
  #2  
Old November 9th, 2003, 08:26 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,529 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 19 m 5 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
Ok thats a very strange error (another one i've never head of).. i'm not even going to touch the first one since you concluded that you where running it wrong..

What exactly are you doing i.e. what do your setup.py and command line look like.. oh, what version of Python and py2exe are you running on what OS?

Mark.
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #3  
Old November 9th, 2003, 07:05 PM
xlordt's Avatar
xlordt xlordt is offline
Only the strong survives!!.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2003
Location: A World of wonder.
Posts: 5,537 xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Weeks 1 Day 21 h 42 m
Reputation Power: 378
Send a message via ICQ to xlordt Send a message via AIM to xlordt Send a message via MSN to xlordt Send a message via Yahoo to xlordt Send a message via Google Talk to xlordt Send a message via Skype to xlordt
Facebook
here are my specs

o/s: winblows98
Python version 2.3.2
Py2exe-0.4.2.win32.py2.3


here is my source

Code:
#!C:\Python23\python.exe

# setup.py
from distutils.core import setup
import py2exe

setup(name="myscript",
      scripts=["spy/1.py"],
)


and here is the command line

C:\Python23>python spy/1.py py2exe

Reply With Quote
  #4  
Old November 10th, 2003, 02:21 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,529 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 19 m 5 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
I think i see the problem, you ned to point your command at your setup.py, try this one..

C:\Python23>python path\to\setup.py py2exe

Hope that works, other than that it all looks fine to me

Mark.

Reply With Quote
  #5  
Old November 10th, 2003, 04:56 PM
xlordt's Avatar
xlordt xlordt is offline
Only the strong survives!!.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2003
Location: A World of wonder.
Posts: 5,537 xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)xlordt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1Folding Points: 108660 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Weeks 1 Day 21 h 42 m
Reputation Power: 378
Send a message via ICQ to xlordt Send a message via AIM to xlordt Send a message via MSN to xlordt Send a message via Yahoo to xlordt Send a message via Google Talk to xlordt Send a message via Skype to xlordt
Facebook
Ok thanx i will try once i get back on windows.. right now im on my loving slack partion thanx man

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > conversion to exe error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway