Python Forum
can not open .exe file generated by py2exe: ImportError: cannot import name _remove_d
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can not open .exe file generated by py2exe: ImportError: cannot import name _remove_d
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Errors during run .exe file generated with Pyinstaller BushyAxis793 4 942 Mar-25-2025, 05:57 PM
Last Post: BushyAxis793
  How to write variable in a python file then import it in another python file? tatahuft 4 853 Jan-01-2025, 12:18 AM
Last Post: Skaperen
  Trying to open depracated joblib file mckennamason 0 687 Sep-19-2024, 03:30 PM
Last Post: mckennamason
  import a function from another file using relative path paul18fr 6 2,679 Aug-01-2024, 06:40 AM
Last Post: paul18fr
  ImportError: cannot import name 'scipy_namespace_for' from 'scipy._lib._array_api' AgileAVS 0 1,677 Jul-15-2024, 08:45 AM
Last Post: AgileAVS
  Open/save file on Android frohr 0 1,087 Jan-24-2024, 06:28 PM
Last Post: frohr
  file open "file not found error" shanoger 8 5,879 Dec-14-2023, 08:03 AM
Last Post: shanoger
  How can i combine these two functions so i only open the file once? cubangt 4 1,896 Aug-14-2023, 05:04 PM
Last Post: snippsat
  HOW TO USE C# GENERATED DLL davide_vergnani 2 3,145 Jun-12-2023, 03:35 PM
Last Post: davide_vergnani
Question Cannot import easysnmp: ImportError: libnetsnmp.so.30 Calab 4 2,213 Jun-08-2023, 08:52 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020