pycharm尝试在同一个窗口中打开其他项目时报错The project at D:\sourcecode\fuzz_backend uses a non-standard layout and cannot be attached to this project. Would you like to open it in a new window?

问题:

尝试在pycharm同一窗口下打开其他工程项目时,报错 The project at D:\sourcecode\fuzz_backend uses a non-standard layout and cannot be attached to this project. Would you like to open it in a new window?

 

 

解决办法:

新项目在新项目的.idea文件夹中没有.iml文件。

从其他git项目中复制并粘贴了.iml到要打开的项目下,更改.iml文件名和项目名称保持一致以匹配项目,问题就解决了。

posted @ 2021-05-17 15:42  小七Libra  阅读(336)  评论(0编辑  收藏  举报