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 ?
11 ответов
+ 4
Really _curses? With an _?
+ 4
Tibor Santa Maybe because we are not allowed to curse on sololearn?
+ 3
You can only import modules when they are installed. Please link a code example so we can further check on it.
+ 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.
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 { } }")
0
May be u wanna use cuss library but u using curse library
0
Ali Haider This thread is about installing a particular Python module. Please create your own thread or Google how to center a heading.
0
This problem appears on vscode and not on sololearn
- 1
How we can make heading in center
- 1
In Html