使用Pycharm出現No module named Test_01_module_a less... (Ctrl+F1) This inspection detects names that sh

u014380653發表於2018-06-25

在進Python的模組學習的時候,發現匯入不了,出現 No module named Test_01_module_a less... (Ctrl+F1)  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 support錯誤,這個時候,我們把一個選項勾上就行了,找到file->setting,如下圖,勾選進行Apply就行


要是不行,那就清理快取並重啟:



相關文章