Search code examples
pythonpycharm

PyCharm not recognizing Python files


PyCharm is no longer recognizing Python files. The interpreter path is correctly set.

Screen shot


Solution

  • Please check File | Settings (Preferences on macOS) | Editor | File Types, ensure that file name or extension is not listed in Text files.

    To fix the problem remove it from the Text files and double check that .py extension is associated with Python files.

    Text