How to fix this? This kind of problems appears constantly in my code. Only restarting helps or invalidate cache and restart. But after a few minutes this problem occurs again. How to I fix that?
Is it reproducible in a new project with a new clean virtualenv? You can have both versions installed at the same time so you don't need to reinstall it every time for troubleshooting.
It looks like some king of lags. IT looks like hte code inspections hangs up from tiem to time in some places. To be clear this example that I provided is not the only situation. This kind of issues happens repeatedly and forced e to migrate to older pycharm version.
I think that I did not notice the problem in other projects.
I use docker-compose as remote python interpreter in this project.
What PyCharm version do you use?
Do you have boto3 or boto3-stubs installed by any chance?
I use the newest pycharm 2020.3 PRO/Ultimate(?). I have installed
Is it reproducible in a new project with a new clean virtualenv?
You can have both versions installed at the same time so you don't need to reinstall it every time for troubleshooting.
It happend it project that I generated with https://github.com/pydanny/cookiecutter-django
It looks like some king of lags. IT looks like hte code inspections hangs up from tiem to time in some places. To be clear this example that I provided is not the only situation. This kind of issues happens repeatedly and forced e to migrate to older pycharm version.
I think that I did not notice the problem in other projects.
I use docker-compose as remote python interpreter in this project.
I think it's either https://youtrack.jetbrains.com/issue/PY-45776 or https://youtrack.jetbrains.com/issue/PY-40997
Do you see code analysis running in the top-right corner of the editor area?