Pycharm: cann‘t find declaration to go

solution:

mouse select right click to jump to related file -> Mark Directory as -> Sources Root

Read More: