0

I have a problem

I receive an error at the end of some codes in python . So an error occurs which says : an module name not found _curses. Can someone explain to what it is and how I can solve it ?

28th Sep 2022, 5:55 PM
MrX
MrX - avatar
11 Answers
+ 4
Really _curses? With an _?
28th Sep 2022, 5:59 PM
Oma Falk
Oma Falk - avatar
+ 4
Tibor Santa Maybe because we are not allowed to curse on sololearn?
28th Sep 2022, 6:33 PM
Lisa
Lisa - avatar
+ 3
You can only import modules when they are installed. Please link a code example so we can further check on it.
28th Sep 2022, 5:59 PM
Lisa
Lisa - avatar
+ 3
Curses library is used for printing colored text, and positioning text on the terminal screen. It will only work on certain operating systems and it will certainly not work on Sololearn.
28th Sep 2022, 6:20 PM
Tibor Santa
Tibor Santa - avatar
0
When a module is not found, I usually install it on sololearn Idk if its allowed, so use at ur own risk Also don't abuse it, #first import the builtin os module import os #use it to execute some terminal command os.system("pip install {module here without the { } }")
29th Sep 2022, 12:04 AM
Ireneo language
Ireneo language - avatar
0
May be u wanna use cuss library but u using curse library
30th Sep 2022, 3:04 AM
Sourabh Tiwari
0
Ali Haider This thread is about installing a particular Python module. Please create your own thread or Google how to center a heading.
30th Sep 2022, 5:14 PM
Lisa
Lisa - avatar
0
This problem appears on vscode and not on sololearn
2nd Oct 2022, 12:26 PM
MrX
MrX - avatar
1
How we can make heading in center
30th Sep 2022, 4:14 PM
Ali Haider
Ali Haider - avatar
1
In Html
30th Sep 2022, 4:14 PM
Ali Haider
Ali Haider - avatar