需要自己先在pycharm设置好path from content root的快捷键为[Alt + R]:
设置路径 File - Settings - Keymap - 搜索Path From Content Root