No Module Named _Curses

I am very new to both Ubuntu and python. I am trying to run a code and getting : ImportError: No module named _curses.

I tried:

sudo apt-get update  
sudo apt-get install build-essential  
sudo apt-get install libncurses5-dev  

All reported they are already the newest version, nothing added, nothing upgraded.

How should I proceed?

UPDATE
The python version was 2.7.9, Ubuntu 14.04
After updating to 2.7.10 the error was gone.

1

1 Answer

The python version was 2.7.9, Ubuntu 14.04. After updating to 2.7.10 the error was gone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest