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! While you're at it, check out some resources Treehouse students have shared here.
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 trialYukiru Kannazuki
3,036 PointsWhy do Termcolor and Colorama not print color in my local setup?
from termcolor import cprint
cprint('Hello World!', 'red')
I've tried this is the Workspace, and it works (by making 'Hello World' red), but if I try to do it in my local python shell, it prints:
[31mHello World[0m (with some arrows in there too)
How should I fix this?
Kenneth Love, do you have any input?
Unsubscribed User
3,273 PointsUnsubscribed User
3,273 PointsHmm I just installed and used it in my local shell using python 2.7.9 using the same code you posted.
Try running "pip install termcolor --update" to correct any error you may have in your install.