Module Not Found TkinterDnD2 /u/rare_doge Python Education

Hello,

I’ve been spending today trying to fix this old application as it now seems broken.

Theres only three files: main. py , utils. py , and requirements.txt.

The first 7 lines of code from main is this:

import time

import tkinter as tk

from tkinterdnd2 import DND_FILES, TkinterDnD

from tkinter import messagebox, Entry, LabelFrame, END, filedialog

from tkinter.ttk import Progressbar, Style

from threading import Thread

from pathlib import Path

Pretty straight forward.

However everytime I try to run the script I’m met with the error

“from tkinterdnd2 import DND_FILES, TkinterDnD

ModuleNotFoundError: No module named ‘tkinterdnd2’ “

I’ve installed tkinterdnd 100 times by now, ive reinstalled python, cleared cache, tried everything possible. What am I doing wrong??? Please help. Thank you.

I’m on Windows 10 x64 using Python 3.13

submitted by /u/rare_doge
[link] [comments]

​r/learnpython Hello, I’ve been spending today trying to fix this old application as it now seems broken. Theres only three files: main. py , utils. py , and requirements.txt. The first 7 lines of code from main is this: import time import tkinter as tk from tkinterdnd2 import DND_FILES, TkinterDnD from tkinter import messagebox, Entry, LabelFrame, END, filedialog from tkinter.ttk import Progressbar, Style from threading import Thread from pathlib import Path Pretty straight forward. However everytime I try to run the script I’m met with the error “from tkinterdnd2 import DND_FILES, TkinterDnD ModuleNotFoundError: No module named ‘tkinterdnd2’ ” I’ve installed tkinterdnd 100 times by now, ive reinstalled python, cleared cache, tried everything possible. What am I doing wrong??? Please help. Thank you. I’m on Windows 10 x64 using Python 3.13 submitted by /u/rare_doge [link] [comments] 

Hello,

I’ve been spending today trying to fix this old application as it now seems broken.

Theres only three files: main. py , utils. py , and requirements.txt.

The first 7 lines of code from main is this:

import time

import tkinter as tk

from tkinterdnd2 import DND_FILES, TkinterDnD

from tkinter import messagebox, Entry, LabelFrame, END, filedialog

from tkinter.ttk import Progressbar, Style

from threading import Thread

from pathlib import Path

Pretty straight forward.

However everytime I try to run the script I’m met with the error

“from tkinterdnd2 import DND_FILES, TkinterDnD

ModuleNotFoundError: No module named ‘tkinterdnd2’ “

I’ve installed tkinterdnd 100 times by now, ive reinstalled python, cleared cache, tried everything possible. What am I doing wrong??? Please help. Thank you.

I’m on Windows 10 x64 using Python 3.13

submitted by /u/rare_doge
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *