之前很多小伙伴发现利用pycharm导入项目会报“Unresolved reference xxx"的错误,即便右键项目名,mark directory as resources root 仍然无效:
解决方法:在 mark directory as resources root 操作之后,再重新将该代码敲一遍即可解决此问题。亲测有效!
来源:CSDN
作者:qq_36951931
链接:https://blog.csdn.net/qq_36951931/article/details/104149677