+ 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.
1 Respuesta
+ 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 ^^