ModuleNotFoundError: No module named '_curses'

See original GitHub issue

Using latest version (0.19.9) will install asciimatics instead of asciicanvas (which seems intended), but running dvc repro ... will result in:


Traceback (most recent call last):
  File "/home/villasv/.local/share/virtualenvs/red-education-RQhbWawp/bin/dvc", line 7, in <module>
    from dvc.main import main
  File "/home/villasv/.local/share/virtualenvs/red-education-RQhbWawp/lib/python3.6/site-packages/dvc/main.py", line 2, in <module>
    from dvc.cli import parse_args
  File "/home/villasv/.local/share/virtualenvs/red-education-RQhbWawp/lib/python3.6/site-packages/dvc/cli.py", line 27, in <module>
    from dvc.command.pipeline import CmdPipelineShow
  File "/home/villasv/.local/share/virtualenvs/red-education-RQhbWawp/lib/python3.6/site-packages/dvc/command/pipeline.py", line 5, in <module>
    from dvc.dagascii import Dagascii
  File "/home/villasv/.local/share/virtualenvs/red-education-RQhbWawp/lib/python3.6/site-packages/dvc/dagascii.py", line 5, in <module>
    from asciimatics.screen import Screen
  File "/home/villasv/.local/share/virtualenvs/red-education-RQhbWawp/lib/python3.6/site-packages/asciimatics/screen.py", line 1927, in <module>
    import curses
  File "/home/villasv/.pyenv/versions/3.6.5/lib/python3.6/curses/__init__.py", line 13, in <module>
    from _curses import *
ModuleNotFoundError: No module named '_curses'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
Akshay050592commented, Feb 28, 2020

Traceback (most recent call last): File “D:/practice/project/snake.py”, line 3, in <module> import curses File “C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\curses_init_.py”, line 13, in <module> from _curses import * ModuleNotFoundError: No module named ‘_curses’

2reactions
RadiantUwUcommented, Jul 27, 2021

import curses Traceback (most recent call last): File “c:\Users\User\Desktop\Files\python scripts\mms4.0 emulator\enhanced.py”, line 240, in shellc exec(c,self.globals,self.locals) File “<string>”, line 1, in <module> File “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\curses_init_.py”, line 13, in <module>
from _curses import * ModuleNotFoundError: No module named ‘_curses’

This is running on windows 10, in a pseudo python shell made by me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error no module named curses - python - Stack Overflow
Got the same error with Python 3.4 on Ubuntu 14.04 and here is how I fixed it. My /usr/local/lib/python3.4/lib-dynload/ directory did not have...
Read more >
ModuleNotFoundError: No module named '_curses' : r/Python
ModuleNotFoundError : No module named '_curses' · Typically, if a module name starts with an underscore, it means that it's actually a native ......
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 ... from _curses import * ModuleNotFoundError: No module named '_curses' ...
Read more >
No module named '_curses' · Issue #31 · wustho/epr - GitHub
Unfortunately I can't find any curses module using pip . Is that the exact name? [nemo@Sailfish ~]$ pip install curses Defaulting to user...
Read more >
windows-curses - PyPI
Project description. Adds support for the standard Python curses module on Windows. Based on these wheels. Uses the PDCurses curses implementation. The wheels ......
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