June 11th, 2003, 04:59 AM
Beginner With Py2exe Needs Help
here is my setup.py:
from distutils.core import setup
then when I try to build it, I get this:
C:\>c:\test\setup.py py2exe -w
error: file 'test.py' does not exist
But it does exist
June 11th, 2003, 05:51 AM
Gonna need a lil more info Longhair,
is test.py in the same directory as setup.py? What else is in there? I'd try entering the full path to test.py in setup.py and see if that works..
June 11th, 2003, 08:19 AM
is test.py in the same directory as setup.py? - yes it is.
What else is in there? - nothing right now, I am testing it out.
I'd try entering the full path to test.py in setup.py and see if that works.. I got the same error, but with the path name also now.
June 11th, 2003, 11:38 AM
Strange :S, ok well you gotta be using windows so it can't be a platform thing... Maybe its your Python Version? what version of Python and Py2EXE do you have, also what's in test.py anyway? If theres an error in there then maybe that's what's causing the error. Other than that I have no idea.
June 11th, 2003, 02:29 PM
I ended up d/l'ing py2exe-samples-0.3.1 and tried the same thing and recieved the same errors...
With nothing to really lose, I changed directories in the command prompt (windows 2K) so it looked like this:
It worked the way it was suppose to
I guess the simplest problems are always over looked
Thank you once again for all your help and fast responces.
June 11th, 2003, 02:42 PM
I guess they are , very welcome longhair.