M
Modular•14mo ago
Elaid Tebabkha

Can't show the plot of matplotlib os Ubuntu!

No description
12 Replies
Tanvir
Tanvir•14mo ago
there is a answer in stackoverflow. just search the problem in Google
Jack Clayton
Jack Clayton•14mo ago
@Elaid Tebabkha does this work: sudo apt-get install python3-tk Also what is the benefit of taking a photo of your monitor? Is it not easier to just copy and paste the text?
Elaid Tebabkha
Elaid TebabkhaOP•14mo ago
Discord in my phone 📱🤳 Not working
Elaid Tebabkha
Elaid TebabkhaOP•14mo ago
No description
Elaid Tebabkha
Elaid TebabkhaOP•14mo ago
No description
PriNova
PriNova•14mo ago
It seems you have a corrupt installation. Try to install Mojo fresh with:
sudo apt-get update
modular clean
modular install mojo
sudo apt-get update
modular clean
modular install mojo
Elaid Tebabkha
Elaid TebabkhaOP•14mo ago
I did it, not working
Alex Kirchhoff
Alex Kirchhoff•14mo ago
This sounds like a problem with the Matplotlib installation. Try making sure that the equivalent code in Python runs without issue. If that works but it's broken in Mojo, then there are some additional troubleshooting steps that can be taken.
Elaid Tebabkha
Elaid TebabkhaOP•14mo ago
Now , in python not working. I solved by 2 ways: In sudo: I write export DISPLAY=:0. I installed GWSL FROM WINDOWS STORE, so the show I'll n windows window. This is in Ubuntu version. Bur in kali-linux everything is nice.
PriNova
PriNova•14mo ago
Are you in WSL2 or is this some kind of Chromebook or Surface?
Elaid Tebabkha
Elaid TebabkhaOP•14mo ago
I am using WSL2
PriNova
PriNova•14mo ago
Are you able to use other WSL2 gui apps like gedit, gimp or other X11 apps? Are you on windows 11 or 10? If you installed WSL2 through the Microsoft Store the WSLg is already included.
Want results from more Discord servers?
Add your server