I keep getting this warning in PyCharm 2018.3.5: "Type hints are not installed".
If I click 'Install', a log message like this appears:
6:11 PM Packages installed successfully: Installed packages: 'djangorestframework-stubs'
But then the warning reappears in a few minues. How to fix it? If it matters, I have a remote Docker Compose interpreter configured for the project, which is otherwise working fine.
I created a ticket in PyCharm's bug tracker about this problem: https://youtrack.jetbrains.com/issue/PY-34624
What basically happens:
djangorestframework
installed and proposes to install a stub package for it as djangorestframework-stubs
is missingdjangorestframework-stubs
theredjangorestframework-stubs
is gone