Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc2ed87

Browse files
authored
DOC: add canonical uv update command in error message
1 parent 64d0b0c commit bc2ed87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/_backend_tk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
raise ImportError(
4040
"Failed to import tkagg backend. You are using a uv-installed python "
4141
"executable, which is not compatible with Tk. "
42-
"Please use another Python interpreter or select another backend."
42+
"Please update your python via: "
43+
"`uv self update && uv python upgrade --reinstall`"
4344
) from e
4445
else:
4546
raise ImportError(

0 commit comments

Comments
 (0)