When using line_profiler PyCharm throws Unresolved reference 'profile'
.
How can I fix this?
When using line_profiler PyCharm throws Unresolved reference 'profile'
.
How can I fix this?
This is only a warning by the IDE. You can run line_profiler like normal.
I don't know why the error appears, but as you are unlikely to keep line_profiler in production it shouldn't be a problem.
Could you please share a code example? In the context menu of the error, there is an option to ignore the issue.