cs-python
cs-python

Reputation: 51

Cannot load facet Django in Pycharm community version, but no error in professional version

I started learning Django by building a simple project with Pycharm community version first, then in the middle of the development, I switched to the professional version. After the trial version expired, I moved back to the community version.

Now when I am using the community version, Pycharm shows event error:

Error Loading Project: Cannot load facet Django

If I try the professional version, it's successfully loaded.

Can anybody help?

Upvotes: 5

Views: 4877

Answers (2)

I migrated from PyCharm Professional to PyCharm 2024.3.3 (Community Edition). I got the same error as soon as I opened the project folder. To solve this (and other) notification problems, I simply removed the .idea directory from the project. The only thing I had to do was point the Python interpreter again. My project is working perfectly.

Upvotes: 0

Pavel Karateev
Pavel Karateev

Reputation: 8570

Click "Details..." in the warning popup and answer "Yes" to the suggestion to ignore the facet or manually remove <facet type="django" name="Django"> node and all it's children from .idea/<project_name>.iml stored in your project root.

enter image description here

Upvotes: 4

Related Questions