I've tried to import the markdown2 module in my views.py file but I get an error ModuleNotFoundError: No module named 'markdown2'
. I've tried restarting my machine, uninstalling and reinstalling the module. Can't seem to figure it out and frustrated with the lack of instructions other than to use pip3 install markdown2
which seems insufficient.
1 Answer
Depending on which Python version you have there might be no need for the pip3
but just pip
instead, maybe?
Also, I found that there aren't a lot of CS50 Web threads on here but found a lot on this site provided by CS50: https://us.edstem.org/dashboard.
This one in particular about installing markdown2: https://us.edstem.org/courses/176/discussion/87840