[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

View original on GitHub ↗

12 Comments

github-actions[bot] · 12 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3562
  2. https://github.com/anthropics/claude-code/issues/6100
  3. https://github.com/anthropics/claude-code/issues/5154

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

MaksymSofer · 12 months ago

The same issue on Ubuntu

DannyJPN · 12 months ago

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

DannyJPN · 12 months ago

Update: suddenly it started working and I have no idea why - I havenrt changed any settings

Wangcasc · 9 months ago
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.

DannyJPN · 9 months ago
> 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

github-actions[bot] · 8 months ago

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.

matthewbehrend · 7 months ago

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:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Then restart PyCharm.

Solution B (didn't work for me): Change PyCharm's terminal to cmd.exe:

  • Settings → Tools → Terminal → Shell path → cmd.exe
  • Restart PyCharm
sgeulette · 6 months ago

Not working for me on Ubuntu with PyCharm 2025.3.2.1 and plugin 0.1.14

azhivovk · 5 months ago

I struggled with this issue after native installing of claude
Adding this to bashrc in fedora fixed the issue for me

export no_proxy="localhost,127.0.0.1,::1"
export NO_PROXY="localhost,127.0.0.1,::1"
github-actions[bot] · 4 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 4 months ago

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.