I have been using VScode to build a django application for a few weeks now however one day the debugger started throwing errors and failing to start however, I am able to use python runserver to successfully start the application and interact with it without any error.
the error message
Performing system checks...
SystemCheckError: System check identified some issues:
ERRORS:
courses.Course.thumbnail: (fields.E210) Cannot use ImageField because Pillow is not installed.
HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command "pip install Pillow".
At first I thought I was indeed missing a package so I ran pip list and confirmed the package was actually downloaded result of pip list
Django (2.2.7)
django-cors-headers (3.2.0)
djangorestframework (3.10.3)
djangorestframework-jwt (1.11.0)
dodgy (0.1.9)
isort (4.3.21)
lazy-object-proxy (1.4.3)
mccabe (0.6.1)
pep8-naming (0.4.1)
Pillow (6.2.1)
pip (9.0.1)
pkg-resources (0.0.0)
I have disabled every vscode extension except the python one, I have also deleted the .vscode folder and the debug congfigurations but still nothing. I have also ensured that I'm using the correct interpreter and still no luck. Has anyone experienced this before and how can I fix it.