pycharm package can not be imported at the same level directory

command + alt +rOpen the Project Settings

201292-abc66648e0cdbeeb.png

  • In the python path configuration of the entire project in the workspace as the current directory


    201292-2d3a95166721da2f.png
    image.png

Reproduced in: https: //www.jianshu.com/p/8ff645bb9681

Guess you like

Origin blog.csdn.net/weixin_34346099/article/details/91292340