python 2.7 - Kivy- Packaging to Windows fails: "No module named ConfigParser" -


i trying package kivy application windows, , after following instructions in kivy website example touchtracer app, importerror: no module named configparser message when trying open .exe file in dist folder.

i running python 2.7.11 , kivy 1.9.1.

also, while executing command python -m pyinstaller..., output includes line says:

12612 warning: attempted add python module twice different upper/lowercases: configparser 

below traceback printed when attempting open .exe file.

traceback (most recent call last):    file "c:\users\acasall1\desktop\touchapp\demo\touchtracer\main.py", line 22, in <module>      import kivy    file "c:\users\acasall1\appdata\local\temp\pip-build-21skkd\pyinstaller\pyins taller\loader\pyimod03_importers.py", line 389, in load_module    file "c:\python27\lib\site-packages\kivy\__init__.py", line 306, in <module>      kivy.config import config    file "c:\users\acasall1\appdata\local\temp\pip-build-21skkd\pyinstaller\pyins taller\loader\pyimod03_importers.py", line 389, in load_module    file "c:\python27\lib\site-packages\kivy\config.py", line 284, in <module>      configparser import rawconfigparser pythonconfigparser    file "c:\users\acasall1\appdata\local\temp\pip-build-21skkd\pyinstaller\pyins taller\loader\pyimod03_importers.py", line 389, in load_module    file "c:\python27\lib\site-packages\configparser\__init__.py", line 5, in <mo dule>      configparser import *  importerror: no module named configparser failed execute script main 

i had same problem kivy application, , found ad hoc solution. error comes line "import kivy", uncomment , next line "kivy.require('1.0.6')". there lines unnecessary if kivy has proper version.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -