astral-sh/rye

Cannot use matplotlib

jreniel opened this issue · 1 comments

Steps to Reproduce

Add matplotlib to your dependencies, try to use TkAgg:

import matplotlib
matplotlib.use("TkAgg")

OR

import matplotlib.pyplot as plt
plt.plot([0], [0])
plt.show()        

Expected Result

A plot should appear

Actual Result

We get problems with TkInter not loading.
image

Version Info

rye 0.39.0
commit: 0.39.0 (bf3ccf8 2024-08-21)
platform: linux (x86_64)
self-python: cpython@3.12.5
symlink support: true
uv enabled: true

Stacktrace

No response