|
#1
|
|||
|
|||
Publish EXE with win32com
Hello Wizards,
I got a problem there. My script is importing the win32com python module. It's running fine inside Vizard, but when I try to publish my .exe the interpreter tell me that there's no module named pythoncom. Can I have some advices? Thanks !! viz.FOREVER !! D. |
#2
|
|||
|
|||
The win32com module probably depends on some dll located in the windows system folder. If this is the case, then you will need to manually add the file to your published exe.
|
#3
|
|||
|
|||
AAAAAAARRRGGG !!!! Help !!
All right Farshi !!
It's working, thanks. But now I got this problem when runninmg the exe (I don't understand why, but it's working fine in the IDE): ************************************************** **************************** ** Loading PHCS1.4.py ************************************************** **************************** ** NOTIFY: 0 joystick(s) detected Traceback (most recent call last): File "<string>", line 11, in ? File "PHCS1.4.py", line 170, in ? class ContextEvents(win32com.client.getevents("SAPI.SpSh aredRecoContext")): TypeError: Error when calling the metaclass bases cannot create 'NoneType' instances ** Load Time: 0.60 seconds ** WARNING: There were errors in your script, press any key to exit This thing is driving me crazy... viz.FOREVER !! D. |
#4
|
|||
|
|||
I really need some help...
Hello Wizards,
I really need some help there, I don't understand why my application works in Vizard and not when it's in .exe !!! I still got this error: TypeError: Error when calling the metaclass bases cannot create 'NoneType' instances when I running the .exe. I think this line of code is the source of my headache: class ContextEvents(win32com.client.getevents("SAPI.SpSh aredRecoContext")): Any suggestions ? viz.FOREVER !! D. |
#5
|
|||
|
|||
Is there supposed to be a space in the string "SAPI.SpSh aredRecoContext"? I'm not familiar with the win32com library, so I don't know what is causing the error.
|
#6
|
|||
|
|||
Anything yet ?
Hello Wizards !!
Did you find something about my mysterious metaclass ? viz.FOREVER !!! D. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Publish as EXE - Introduction | tobin | Vizard | 19 | 02-12-2009 02:51 AM |
publish .exe n.. | gakusei08 | Vizard | 3 | 05-07-2008 09:47 AM |