tags:

views:

278

answers:

0

when i compile a python application with py2exe i get the bellow error:

Traceback (most recent call last):

File "myapp.pyw", line 2, in

File "pymssql.pyc", line 30, in

File "_mssql.pyc", line 12, in

File "_mssql.pyc", line 10, in __load

ImportError: DLL load failed: The specified module could not be found.

here are the setup.py

from distutils.core import setup

import py2exe

setup(windows=['myapp.pyw'])

also my activepthon version is 2.6

when i compile i run the following command:

python setup.py py2exe

the complation is ok but when i try to run the exe i get the above error could someone help

p.s i use those external libraries (pymssql library and wxpython library)

could someone help me how i resolve the above error