pycharm导入.py文件报错 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 c

报错: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 c

Phenomenon: A computer from the computer B introduced .py given package, all red

Solution one: Project - Right --Mark Directory as - Resource root, and then re-import the items, red will disappear

 

 

 

 

Solution two: file --- setting --- version Control changed as shown in FIG.

 

Guess you like

Origin www.cnblogs.com/ljf520hj/p/11628333.html