+ 1

Why cant python import my "markdown" module (solved)

I have been getting this error message "Import 'Markdown' could not be resolved Pylance (reportMissingImports)" I checked the paths. They are all ok. I did check my pip version and markdown version as well. Markdown is properly installed . I am using venv. And "markdown" is installed in it How do i fix the bug? Edit: omg it did happen as i wrote "Markdown " instead of "markdown". I can't believe i was stressing over a single uppercase letter yesterday. Thank you so much "visph" and "Jan Markus" for helping me.

15th Jun 2021, 3:03 PM
Tausimman Minuha¯\_(ツ)_/¯
Tausimman Minuha¯\_(ツ)_/¯ - avatar
1 Réponse
+ 3
did you refer to this module: https://pypi.org/project/Markdown/ if so, correct import syntax should spell "import markdown" (all lowercased)... don't forgot that python keyword/name identifiers are case sensitive ^^
15th Jun 2021, 5:18 PM
visph
visph - avatar