|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#16
|
|||
|
|||
|
Quote:
i tried to use this solution but it didn't work for me i am using python 2.4 with PIL 1.15 i use reportlab 1.20 in connection with PIL to generate PDF-Files this works fine but if i try to put my script into an executable with help of py2exe, i can't use images anymore. if i generate PDFs without images it works fine. but when i try to use images i get this error: Code:
File "PIL\Image.pyc", line 1745, in open IOError: cannot identify image file as you can see there are about 200 lines more now in comparism to your error. and the file has moved to the subdir "PIL" -> "PIL\Images.pyc" instead of only "Image.pyc" in root dir i hope you can help me |
|
#17
|
|||
|
|||
|
im following the instructions, but i get this error when i try to run the exe file
Traceback (most recent call last): File "asl-alphabet.py", line 2, in ? File "letters.pyc", line 1, in ? File "hand.pyc", line 1, in ? File "dmsgl.pyc", line 23, in ? File "OpenGL\__init__.pyc", line 18, in ? File "OpenGL\__init__.pyc", line 14, in __set_attributes IOError: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\Sunny Chan.PDPXPIT\\Desktop\\Web Server\\ASL\\dist\\library.zip\\OpenGL\\version' |
|
#18
|
|||
|
|||
|
never mind, i figured it out
|
|
#19
|
|||
|
|||
|
help pls
i did a game in python using pygame
when i tried to convert to exe by py2exe its getting converted and the exe files are created. but when i click on the exe file it throws the following error Traceback (most recent call last): File "foot.py", line 390, in ? File "foot.py", line 167, in main File "foot.py", line 17, in load_sound pygame.error: Mix_LoadWAV_RW with NULL src pls help me |
|
#20
|
|||
|
|||
|
great tutorial ill use it when i need. im only beginner
|
|
#21
|
|||
|
|||
|
Well I am using Python 2.5 and PY2EXE.py is not a file in it. Python 2.2 (which I was previously using) had py2exe but gave an error saying to use build_exe.py.
Python 2.5 does have a build_exe.py though. any hints? Should I use the same directions and switch the words py2exe with build_exe? EDIT: Nevermind... >.> I feel stupid now. I got it to work... |
|
#22
|
|||
|
|||
|
I have learn this language before but now I want to learn by myself from the start....
Thanks for the guide links... ![]() |
|
#23
|
||||
|
||||
|
Not sure if this has been asked yet, but is there a PY2EXE equivelant for Linux to compile a Python program into a linux binary file?
|
|
#24
|
|||
|
|||
|
Excellent guide. Worked like a charm on the first try.
Thanks Grim!! ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > PY2EXE step-by-step guide |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|