pycharm Cannot load settings from file

Cannot load settings from file 'G:\work\djxk_project\HospitalProject\DJXK_hospital.idea\workspace.xml': Error on line 21: The content of elements must consist of well-formed character data or markup. Please correct the file content
有时pycharm会因为一些意外情况出现无法从Workspae.xml导入配置的问题,导致项目无法打开。
解决方案:删除.idea路径下的workspace.xml文件,(如果担心这个删除这个文件会出现其他问题,或者你像我一样不喜欢直接删除一些不熟悉的文件,可以备份一下再删除)


pycharm Cannot load settings from file_第1张图片
删除(workspace.xml).png

重新打开该项目,pycharm会在idea/文件夹下重新创建workspace.xml文件。

你可能感兴趣的:(pycharm Cannot load settings from file)