Reputation: 13088
I copied my project from my internal SSD to my external HDD. When I open my project now, PyCharm does not recognize it properly. Actually main
and main2
are python modules (folders with __init__.py
files), not just files:
What is going on?
Upvotes: 0
Views: 166
Reputation: 6359
I would go through the files in the .idea
folder and look for wrong paths. AFAIK all project settings are stored in that folder, so you should be able to resolve the issue there.
Upvotes: 1
Reputation: 4478
Try this.
File -> Settings -> Project:projectName -> Project Structure -> +Add content root.
Upvotes: 1