Sam Ling
2014-02-04 01:15:04 UTC
Hey, Dear.
I used py2exe to build .exe application for the program. When I ran the
.exe , there is ImportError: No module named System.
In python script , I used Python for .NET package.
"
from System import *
from System import String
"
It's working properly, if running directly from the script
(python2.7+win7). But it failed if running .exe created by py2exe.
Could anyone help?
Appreciate it very much.
Sam
I used py2exe to build .exe application for the program. When I ran the
.exe , there is ImportError: No module named System.
In python script , I used Python for .NET package.
"
from System import *
from System import String
"
It's working properly, if running directly from the script
(python2.7+win7). But it failed if running .exe created by py2exe.
Could anyone help?
Appreciate it very much.
Sam