Hello, Please try File | Invalidate Caches with all options toggled and check if the issue persists after restart. If the problem remains unresolved, please report the bug in the PyCharm branch of YouTrack (https://youtrack.jetbrains.com/issues/PY) and post the link here to reduce processing time. Attach relevant logs (Help | Show Logs in...), a screenshot of the issue, and a screenshot of Settings | Project | Python Interpreter.
If you're still able to reproduce the issue with a project path that contains only ASCII characters, please go ahead and create a new issue in YouTrack (https://youtrack.jetbrains.com/issues/PY) and include any relevant details - especially logs from Help | Collect Logs and Diagnostic Data - to help us investigate more effectively.
Please try File | Invalidate Caches with all options toggled and check if the issue persists after restart.
If the problem remains unresolved, please report the bug in the PyCharm branch of YouTrack (https://youtrack.jetbrains.com/issues/PY) and post the link here to reduce processing time. Attach relevant logs (Help | Show Logs in...), a screenshot of the issue, and a screenshot of Settings | Project | Python Interpreter.
Unfortunately, the issue remains. Reported a bug:
https://youtrack.jetbrains.com/issue/PY-80233/Editor-reports-No-module-named-xxx-even-though-libs-are-installed-and-code-runs-successfully
I encountered the same issue, and the solution that worked for me was to invalidate IntelliJ's caches. Navigate to File > Invalidate Caches / Restart, select all options, and restart the IDE. This resolved the "No module named 'xxx'" error for me. If the problem persists, consider reporting it to JetBrains via YouTrack and include relevant logs and screenshots.
https://intellij-support.jetbrains.com/hc/en-us/community/posts/25886805811602-Editor-reports-No-module-named-xxx-even-though-libs-are-installed-and-code-runs-successfully bitlife
I still run into this issue. reported a bug.
https://youtrack.jetbrains.com/issue/PY-80233/Editor-reports-No-module-named-xxx-even-though-libs-are-installed-and-code-runs-successfullyslope
Migsbetancourt, i've marked PY-80233 as a duplicate of PY-75846.
If you're still able to reproduce the issue with a project path that contains only ASCII characters, please go ahead and create a new issue in YouTrack (https://youtrack.jetbrains.com/issues/PY) and include any relevant details - especially logs from Help | Collect Logs and Diagnostic Data - to help us investigate more effectively.
This usually indicates a path mismatch between IntelliJ’s SDK and your Python interpreter. Quick fixes:
attractiveness test