Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Is Blessings blessed on Windows?
Hi, Kenneth Love
The Blessings module (mentioned in Extra Credit at the end of the course) sounds nifty, but I'm guessing it doesn't work for Windows. I couldn't get it (or the Curses module) to work for me after downloading Blessings using pip. That is, I couldn't import either one of them into my Python session on my Windows Command prompt... probably a issue with the Curses module since it seems Blessings is dependent on it. Is this your understanding as well? This may have something to do with it: https://github.com/erikrose/blessings/issues/21
Jon Mirow9,864 Points
Never used blessings, but am using curses. Reading the blessings info it looks like it needs curses, so I'd expect problems, but not on Windows right now to test sorry.
You're right that the default curses library is for unix CLI systems, but there is a pdcurses library for windows. I can't remember all the steps I jumped through to get it working, but it was a lot harder than it needed to be. You can find it here if needed: https://pdcurses.sourceforge.io/
If you run into the same problems I did, I found it easier on a windows 10 system to install one of the bash command line apps and run the program in that lol.
Ubuntu is here: https://www.microsoft.com/en-us/store/p/ubuntu/9nblggh4msv6 Open Suse and Fedora command line apps are coming, I think right now you need to be a windows insider to get them.
Hope it helps :)