M
Modular•15mo ago
Elaid Tebabkha

Can't show the plot of matplotlib os Ubuntu!

No description
12 Replies
Tanvir
Tanvir•15mo ago
there is a answer in stackoverflow. just search the problem in Google
Jack Clayton
Jack Clayton•15mo 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•15mo ago
Discord in my phone 📱🤳 Not working
Elaid Tebabkha
Elaid TebabkhaOP•15mo ago
No description
Elaid Tebabkha
Elaid TebabkhaOP•15mo ago
No description
PriNova
PriNova•15mo 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•15mo ago
I did it, not working
Alex Kirchhoff
Alex Kirchhoff•15mo 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•15mo 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•15mo ago
Are you in WSL2 or is this some kind of Chromebook or Surface?
Elaid Tebabkha
Elaid TebabkhaOP•15mo ago
I am using WSL2
PriNova
PriNova•15mo 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