I have this project in Visual Studio, but when I try to import curses, even though it autocompletes it, there is a error that says curses doesn't exist.
Do any of you know how to fix that glitch in visual studio?
            Asked
            
        
        
            Active
            
        
            Viewed 1,903 times
        
    0
            
            
        
        Kara
        
- 6,115
 - 16
 - 50
 - 57
 
- 
                    The message I get is that `import _curses` in the `curses` module fails because `_curses` (the C-library, note underscore) does not exist. `curses` completes because it exists, even if it will not run. – Terry Jan Reedy Mar 12 '18 at 15:37
 
1 Answers
0
            
            
        I guess you are using windows, right? Curses is linux library, you won't be able to import it directly. There are alternatives. More info on alternatives you can find here
        Laszlowaty
        
- 1,295
 - 2
 - 11
 - 19