Hi Everyone, This is sudhakar,i want to covert my pmw application into an executable on Windows and ".dmg or .app" on Mac. while i was trying i am able to convert but unable to run my application.
After coverting Menubar.py into Menubar.exe using py2exe and when i run it i get the ERROR: C:\Python25\dist>MenuBar.exe Traceback (most recent call last): File "MenuBar.py", line 160, in <module> File "Pmw\Pmw_1_3\lib\PmwLoader.pyc", line 134, in __getattr__ File "Pmw\Pmw_1_3\lib\PmwLoader.pyc", line 113, in _initialise IOError: [Errno 2] No such file or directory: 'C:\\Python25\\dist\\.\\Pmw\\Pmw_1_3\\lib\\Pmw.def' Please help me how to solve the error and make an executable... I was using the setup.py script as below: from distutils.core import setup import py2exe setup( console=['MenuBar.py'], options={ 'py2exe': { 'packages':['Pmw', 'Pmw.Pmw_1_3', 'Pmw.Pmw_1_3.lib',], 'skip_archive': True, 'dll_excludes': ['MSVCR71.dll'] } } ) With Regards S Sudhakar.
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers