Author: Antonio Cuni <[email protected]>
Branch:
Changeset: r65311:7e9ee52bd7d5
Date: 2013-07-10 10:20 +0200
http://bitbucket.org/pypy/pypy/changeset/7e9ee52bd7d5/
Log: improve the error message
diff --git a/pypy/module/_minimal_curses/fficurses.py
b/pypy/module/_minimal_curses/fficurses.py
--- a/pypy/module/_minimal_curses/fficurses.py
+++ b/pypy/module/_minimal_curses/fficurses.py
@@ -52,7 +52,8 @@
HAS = rffi_platform.Has("setupterm")
if rffi_platform.configure(CConfig)['HAS']:
return eci
- raise ImportError("failed to guess where ncurses is installed")
+ raise ImportError("failed to guess where ncurses is installed. "
+ "You might need to install libncurses5-dev or similar.")
eci = guess_eci()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit