[Bug] Claude Code Integration Fails in PyCharm IDE
Status Closed — not planned
Maintainer reply None cached
Activity 12 comments · opened Sep 1, 2025 · closed Apr 9, 2026
Bug Description
Claude says "Please ensure Claude Code is installed and the 'claude' command is in your system path.". I have tried updating claude code,PyCharm IDE,git Bash,Pycharm claude code plugin,everyting. To no avail. Claude Code meanwhile works by itself - it just cannot connect to the PyCharm IDE.
Environment Info
- Platform: win32
- Terminal: pycharm
- Version: 1.0.98
12 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
The same issue on Ubuntu
I have reviewed the duplicates.
Seems like the issue is cross platform and does notcare about how claude was installed - I have seen Mac,WSL,I have git bash (non-WSL,but Windows) ...
So it isa duplicate only in certain sense
Update: suddenly it started working and I have no idea why - I havenrt changed any settings
same problem,What operation did you try and it can work? Everything is normal at the pycharm end point on my side, but the plug-in launch failed and an error was reported:Please ensure Claude Code is installed and the 'claude' command is in your system path.
Honestly,I have no idea.
Since I sent that comment it fluctuated several times.
I do not even know what to investigate
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Fix for Windows: PowerShell execution policy blocking claude.exe
After very lengthy debug session with aid of Claude app...
The Claude Code plugin launches but fails to connect to IDE on Windows when PowerShell's execution policy is set to
Restricted(the default).Solution A (worked): Run PowerShell as Administrator and set:
Then restart PyCharm.
Solution B (didn't work for me): Change PyCharm's terminal to cmd.exe:
cmd.exeNot working for me on Ubuntu with PyCharm 2025.3.2.1 and plugin 0.1.14
I struggled with this issue after native installing of claude
Adding this to bashrc in fedora fixed the issue for me
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.