question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import Error: No module named '_curses' with Anaconda/Python3.5/Windows7 64bits

See original GitHub issue

Installed version 0.4.1 with pip install curses-menu

I just try to run the sample on the main code page.

Traceback (most recent call last):
  File "hci_cmd.py", line 1, in <module>
    from cursesmenu import *
  File "C:\Anaconda3\lib\site-packages\cursesmenu\__init__.py", line 1, in <module>
    from .curses_menu import CursesMenu
  File "C:\Anaconda3\lib\site-packages\cursesmenu\curses_menu.py", line 1, in <module>
    import curses
  File "C:\Anaconda3\lib\curses\__init__.py", line 13, in <module>
    from _curses import *
ImportError: No module named '_curses'

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

141reactions
egabrumcommented, Nov 5, 2018

try pip install windows-curses

32reactions
pmbarrett314commented, Mar 2, 2016

Python for Windows doesn’t come with curses. You need to visit http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses, download the version of curses that corresponds to your Windows and version of Python, and then pip install the whl file with the python you plan on using.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: No module named '_curses' when trying to import ...
The curses module is not supported on Windows machines. From the module documentation: While curses is most widely used in the Unix environment, ......
Read more >
Why is that showing "no module named curses in python while ...
Why is that showing "no module named curses in python while coding ... py -m pip install curses Or you can just run...
Read more >
ModuleNotFoundError: No module named '_curses' : r/Python
I'm trying to import curses but it gives me an error of ModuleNotFoundError: No module named '_curses' how to fix this? I'm running...
Read more >
failure to find modules - Python Forum
Every time I try to import a module I get the error: ModuleNotFoundError: No module named '_curses'. When using the commandprompt with py...
Read more >
İletişim - Bornovada Masaj Salonu
Yorumu: Hello, My Name is Ash and I Run Tech Know Space https://techknowspace.com We are your Premium GO-TO Service Centre for All Logic...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found