pycharm the project at uses a non standard layout and cannot be attached to
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pycharm the project at uses a non standard layout and cannot be attached to相关的知识,希望对你有一定的参考价值。
参考下面的 Ntj45的回答
https://intellij-support.jetbrains.com/hc/en-us/community/posts/205408470-Multiple-projects-inside-one-window-idea-uses-a-non-standard-layout-and-cannot-be-attached-to-this-project-
附原始答案:
I had the same problem for two times, at different folders. sometimes, re-cloning directory from git can solve this; but you can solve it manualy. That problem is caused by the lack of projectName.iml folder (your project name at place of projectName) in ".idea". you can just create a new project, and copy its new_projectName.iml file (your new project name at place of new_projectName) and change its name to projectName.iml (your project name at place of projectName). Then, it will work.
下面是 projectName.iml文件中的内容,pycharm版本是
Build # PY-171.4163.6, built on April 11,2017
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
以上是关于pycharm the project at uses a non standard layout and cannot be attached to的主要内容,如果未能解决你的问题,请参考以下文章
刚学Python,遇到No Python Interpreter configured for the project,怎么解决?
r MySQL server version for the right syntax to use near 'mysql_upgrade -u root -p' at line 1
[Python] Create a new Django project in Pycharm
Docker初次安装运行出错:Cannot connect to the Docker daemon at ***/docker.sock. Is the docker daemon running?
In an ASP.NET website with a codebehind at what point are the .cs files compiled?