when importing python file in currently folder, pycharm may not find the links. just right click on the folder and set as sources root, then pycharm can validate the links.