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>

时间: 2024-10-07 07:12:17

pycharm the project at uses a non standard layout and cannot be attached to的相关文章

Project Management Process

Project Management ProcessDescription .......................................................................................................................................................................................1STAGE/STEP/TASK SUMMARY LIST

Pycharm选择pyenv安装的Python版本

在macOS上使用pyenv实现Python多版本共存后,pyenv安装的Python版本存在于macOS下的 ~/.pyenv/versions/下. 在Pycharm时,选择此目录下对应的版本即可. 具体操作步骤(以macOS版本为例): Pycharm -> Preferences -> Project -> Project Interpreter -> Add Local 添加本地路径~/.pyenv/versions/,选择对应的版本.

配置pycharm+arcgis 10.6自带python2.7.14开发环境

1.第一步安装arcgis10.6+python2.7.14 2.安装pycharm,我安装的是pycharm社区版2019.3.3 3.打开pycharm,新建project,选择虚拟环境,配置如下,选择arcgis附带python默认安装路径 点击create 创建完成. 下一步,测试一下,新建一个python脚本,结果显示arcpy库未导入成功.显然我们的arcpy依旧没有导入进来. 很显然我们的设置是有问题的.需要重新设置一些环境.到file——setting里面进一步配置.选择Proj

Software Project Managemen(SPM) HOMEWORK01:

Software Project Management HOMEWORK01: Web development: the development of a realization of TodoList that user can register, log in and delete, also the user can achieve the basic database by using the function( adding, delete, change, check) of the

Python在Win10系统的安装和使用配置

Python是一种计算机程序设计语言.你可能已经听说过很多种流行的编程语言,比如非常难学的C语言,非常流行的Java语言,适合初学者的Basic语言,适合网页编程的JavaScript语言等等. 下载 写于2018年3月25号,下载最新版python 3.6.432位下载地址:https://www.python.org/ftp/python/3.6.4/python-3.6.4.exe64位下载地址:https://www.python.org/ftp/python/3.6.0/python-

[翻译] FBLikeLayout

FBLikeLayout This is an UICollectionView layout inspired by the photo section of facebook. This layout loads squared items with randomic full size items. It works with standard layout delegate methods. No additional custom methods to be implemented.

(转)Unity Assets目录下的特殊文件夹名称

原文:http://wiki.unity3d.com/index.php/Special_Folder_Names_in_your_Assets_Folder 1.隐藏文件夹以.开头的文件夹会被Unity忽略.在这种文件夹中的资源不会被导入,脚本不会被编译.也不会出现在Project视图中.2.Standard Assets在这个文件夹中的脚本最先被编译.这个文件夹中的脚本会被导出到Assembly-CSharp-firstpass, Assembly-UnityScript-firstpass

用 Tomcat 和 Eclipse 开发 Web 应用程序

用 Tomcat 和 Eclipse 开发 Web 应用程序 Apache Tomcat & Eclipse 平台是一款杰出的 Web 开发平台 若将 Eclipse 与 Apache Tomcat 直接集成,那么将其用作 Web 开发平台就会更为容易.通过本文,了解如何设置 Eclipse 和 Apache Tomcat V5.5 来开发经典的 Hello World servlet. 4评论: Nathan A. Good, 作家兼软件工程师, Freelance Developer 关闭

Unity中所有特殊的文件夹

1. 隐藏文件夹以.开头的文件夹会被Unity忽略.在这种文件夹中的资源不会被导入,脚本不会被编译.也不会出现在Project视图中.2. Standard Assets在这个文件夹中的脚本最先被编译.这个文件夹中的脚本会被导出到Assembly-CSharp-firstpass, Assembly-UnityScript-firstpass 或 Assembly-Boo-firstpass项目中,依语言而定. 参考http://docs.unity3d.com/Documentation/Ma