pycharm尝试在同一个窗口中打开其他项目时报错The project at D:sourcecodefuzz_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:sourcecodefuzz_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文件名和项目名称保持一致以匹配项目,问题就解决了。

原文地址:https://www.cnblogs.com/qingqing-919/p/14777196.html