Problem
After upgrading to PyCharm 2026.1, the application hangs when performing a right-click anywhere within the interface, such as the project view, file/folder, or code editor.
Cause [Optional]
The issue occurs in projects using WSL when the shell profile (e.g., .bashrc, .zshrc) contains interactive prompts or timeouts. This results in delays while fetching environment variables.
Resolution
To resolve the issue:
-
inspect your WSL shell profiles (e.g.,
.bashrc,.zshrc) and remove any interactive prompts or timeouts. These prompts may interfere with environment variable fetching. -
Navigate to Settings | Advanced Settings in PyCharm, search for Container Environments: WSL, Docker, and change the shell mode used for fetching environment variables to non-interactive.
This should resolve the issue. If problems persist, consider reaching out to PyCharm support for further assistance.
Comments
0 comments
Please sign in to leave a comment.