python - Py2exe Error creating exe - Directory -
So I'm just trying to create an exe from a simple Hello World program using py2exe. I have created the setup code (setup.py) with the following code: (I have tried setup (console = [{"script": 'HelloOop'}] as a suggestion I run CMD as an administrator and type Then it says: I have a hello.py file in the same folder As the setup file is viewed on many different forums and py2exe tutorials and there was no answer, any help would be greatly appreciated. You must first navigate to that directory and call then Python: Note: Your C: \ python27 \ setup.py py2exe
Error: hello.py: No such file or directory
C:> CD C: \ python27c : \ Python27> Python Setup Py py2exe
HelloOP script should also be in the
C: \ python27 directory.
Comments
Post a Comment