Skip to content

Python & WSL Issues

1. An issue with Visidata

NOTE: Visidata is not supported directly on Windows. It is suggested to use WSL. I tried it on Anaconda (2021-01-01) and it didn't work.

The error was:

AttributeError: '_curses.curses window' object has no attribute 'get_wch'

Solution found on GitHub :

GitHub Issue - AttributeError: '_curses.curses window' object has no attribute 'get_wch' #192 Direct Link to comment with solution

apt-get install libncurses5 libncurses5-dev libncursesw5 libncursesw5-dev
pyenv uninstall 3.7.0
pyenv install 3.7.0
pyenv local 3.7.0
pip install visidata

NOTE: In my case it was Python 3.8.2 but the solution is the same.