Python Forum

Full Version: can not open .exe file generated by py2exe: ImportError: cannot import name _remove_d
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have used py2exe to generate a .exe file, but I can noT open it. the log file says there's something wrone with jinja2 module, which I have imported in the main program. I have tried to installed every jinja2 version from version 2.5.5 to 2.10, but I did not success in open any .exe generated.

the warning in log file is :

ImportError: cannot import name _remove_dead_weakref