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 trial

Python Django Forms Forms Creating a Form

danielaponader
danielaponader
7,689 Points

I do the runsrever command, works fine. As soon as I open port 8000 in browser, I get an error, see below

Invalid template library specified. ImportError raised when trying to load 'courses.templatetags.course_extras': No module named 'markdown2'

3 Answers

You can install this module locally using pip. Type the following @ the console prompt:

pip install markdown2

You can then re-run the server and it should work (it did for me).

Henrik Holmlund
Henrik Holmlund
6,113 Points

Tried installing as you typed, bu it did not work for me.

if you are using Python Three you will need pip3 install markdown2