From: Jaime B. J. <j.b...@gm...> - 2017-01-17 10:46:49
|
Hi, I'm using Py2exe and ConfigParser but I have somo problems. I have installed configparser from pip (pip install configparser) and it works fine. In my code I import the package like this "import configparser" and when I execute works. Now I have used py2exe to make a distribution with this setup.py (attached) and the output console message is: *"*** copy dlls **** *copying C:\Python27\lib\site-packages\py2exe\run.exe -> C:\Users\A558286\workspa* *ce\Python\Act_Masivo_Generico\src\dist\GUI.exe* *The following modules appear to be missing* *['Carbon', 'Carbon.Files', '_sysconfigdata', 'backports.configparser']"* When I have executed the .exe file, the error message is: *" 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? Thank You in advance |