Dear all,

One of my colleagues has a problem with the default Python build.  The curses 
module does not properly support unicode because the Python executable is 
linked with libncurses instead of libncursesw.  Do you know if that is 
something that is easily fixable, or would fixing this break something else?



Symptom:

~$ module load Python/3.6.6-foss-2018b
~$ python -c "import curses; curses.wrapper(lambda scr: scr.get_wch)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/home/modules/software/Python/3.6.6-foss-2018b/lib/python3.6/curses/__init__.py",
 line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "<string>", line 1, in <lambda>
AttributeError: '_curses.window' object has no attribute 'get_wch'


On other machines (e.g. my Macbook), this does not produce an error.


Best regards

Jakob

--
Jakob Schiøtz, professor, Ph.D.
Department of Physics
Technical University of Denmark
DK-2800 Kongens Lyngby, Denmark
http://www.fysik.dtu.dk/~schiotz/



Reply via email to