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.

 

上面大致意思:

import 不能识别自定义包名,该类或者包没有灌入python引入库中

 

解决方案:右击pycharm中项目名-->Mark Directory as -->Resource root

 

意思:自定义的资源加入到该项目中,这样才能被 import 识别

相关文章:

  • 2022-12-23
  • 2021-09-22
  • 2021-04-01
  • 2022-12-23
  • 2022-01-04
  • 2021-09-09
  • 2021-06-26
  • 2022-12-23
猜你喜欢
  • 2021-07-27
  • 2021-04-06
  • 2022-12-23
  • 2021-09-12
  • 2021-09-07
  • 2022-12-23
  • 2021-12-16
相关资源
相似解决方案