michael-lazar / rtv

Browse Reddit from your terminal
MIT License
4.64k stars 274 forks source link

Missing _curses.so? #578

Closed warshanks closed 6 years ago

warshanks commented 6 years ago

I tried to update my rtv to the latest version with pip and now I get this error. I've made no changes to my python and I tried reinstalling the older version to no avail. I'm using python 3.6.5 on KDE Neon.

Fatal Error: Your python distribution appears to be missing _curses.so. Was it compiled without support for curses?

michael-lazar commented 6 years ago

Do you have two versions of python installed on your system? My guess is that when you first installed RTV (through your package manager?), it was linked to your system python which had curses available. But then when you tried to upgrade using pip, the pip command was associated with a different python runtime that was compiled without curses.

warshanks commented 6 years ago

Well I went back and checked and I don't think I installed it through apt-get or anything like that... But I do have Python 2.7.12 and 3.6.5 installed. Any help is appreciated I'm new to this whole python thing. Thank you for your patience.

michael-lazar commented 6 years ago

Try this

$ python3 -m pip uninstall rtv
$ python2 -m pip install rtv --upgrade --force-reinstall
warshanks commented 6 years ago

That worked! Thank you so much.