When pychorm is used to write Python recently, every time a custom module is introduced, an error will be reported and “unresolved reference” will be prompted
Unresolved reference ‘LoginClass’ more… (Ctrl+F1)
This inspection detects names that should resolve but don’t. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
Baidu tried many methods, but the results were useless. In the end, it was easy to solve it in one step. Everyone can try
Right click the folder where the called module exists, “markdictionary as” – & gt“ Sources root”
Check again and the error report disappears
Similar Posts:
- Python learning notes – Import utils error
- How to Solve JAVA @override error
- [Solved] Qt-network.ssl error: qt.network.ssl: QSslSocket: cannot call unresolved function
- The solution of unresolved reference in pychar
- Error in idea project startup: lambda expression is not supported in Java: – source 1.5
- Java error: No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- How does eclipse ignore JS files with errors
- Vue: How to use Vue-router in Axios
- [Solved] Cannot make a static reference to the non-static field logMongoTemplate
- ‘python pip’ is not recognized as an internal or external command