Cant import my own .py files "unresolved reference"
已回答
Hello,
I dont recall making any changes but suddenly my code that used to work fine now cannot import a local .py file. Shows up as "unresolved reference". Clearly both of the files are in the same directory.

请先登录再写评论。
Hi,
You should mark the spiders folder as Sources Root. See https://stackoverflow.com/questions/51648724/relative-import-in-pycharm-2018-does-not-work-like-relative-import-in-python-3-6?answertab=votes#tab-top