2 解决方法 将你的目录添加sources root,即可解决此问题 (工程目录)>右键>Mark Directory As > Sources Root X 参考文献 python之出现unresolved reference解决方法 - CSDN 相关文章: