vonshednob / pter

Manage your todo.txt in a commandline user interface (TUI)
https://vonshednob.cc/pter/
MIT License
102 stars 6 forks source link

Does not work on windows #4

Closed sandorex closed 3 years ago

sandorex commented 3 years ago

I installed it using pip and install PyQt5 and all i get when running is

PS C:\Users\Sandorex> pter
Neither PyQt5 nor curses are installed.
vonshednob commented 3 years ago

Thanks for reporting this!

The default interface is based on curses and is known to not work that great on Windows in the first place, even if you install windows-curses from pypi. So Qt5 is a good choice.

However, please rather start it through qpter instead of pter.

If that still fails, could you tell me what happens when you attempt to import PyQt5 from your python prompt?

sandorex commented 3 years ago

Ah this is my bad, my mind did not see the section about PyQt, qpter does work! Sorry for the trouble

vonshednob commented 3 years ago

No problem, glad it works. Maybe I should be more explicit in the README then. :thinking:

sandorex commented 3 years ago

Maybe I should be more explicit in the README then. 🤔

Maybe just placing the command for launching with QT just below the TUI one would prevent someone from missing it like i did



To launch pter you have to tell it where your todo.txt file is:

pter ~/todo.txt

# GUI mode using QT (requires PyQt5)
qpter ~/todo.txt

...

vonshednob commented 3 years ago

Fixed in 9def513c836f6789aa0b7b1881175520b12b845f