problem with

Y

YongYong Li

Recently I got problem on final distributed software
in python. In my program, I have C code which import
module in python. But when I install my software on
another computer which is not installed whole python23
but part of it, I have problem in running the program.
The module is simple as I

import os
import win32com.client
import win32api
import pythoncom

def f1():
.....

def f2():
...


I used another main()
if __name__=="__main__":
print "test"

to use py2exe and get all DLL as well as related
library. I moved them to a dir and run the C program
on another computer, it does not work at all.

It works on the development computer where python23
installed.

1. What extral lib or interpretor or environment I
need to have in order to run it on another computer?
If it is pure python code, it works. But when C code
call function inside python modue, it does not find
them. Sure I Py_Initialize() them.

2. does py2exe get all neceaasry dll, libs for this
type of execution?

Does anyone has experience with this type of
problems? Thanks in advance.






__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,273
Messages
2,571,363
Members
48,049
Latest member
DomenicMon

Latest Threads

Top