Unresolved reference issue in PyCharm

  • Add src as a source content root:

 

  • Then make sure to add add sources to your PYTHONPATH:

 

  • Now imports will be resolved:
原文地址:https://www.cnblogs.com/lkpp/p/7400006.html