From: Massa, H. A. <ch...@gh...> - 2017-01-17 11:20:22
|
Jaime, > > *" File "GUI.py", line 14, in <module>* > * File "configparser.pyc", line 12, in <module>* > *ImportError: No module named backports.configparser"* > > I tried use other kind of import like this from backports import > configparser but it doesn't works. > > With other libraries I need specify the package to import in options > includes like "sip" or "time". It is neccesary include something in this > options to solve the problem? > > > py2exe is challenged with submodules. A workaround that often helped me is: put lines in your main script as import backports import backports.configparser I found with other modules that with this trick py2exe more reliably finds and includes those files. best wishes Harald -- |