claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Plugin Installation Failure: Missing PyCharm Plugin Directories

Open vladt opened this issue 6 months ago • 17 comments

The Intellij Claude Code plugin does not work. When I open Claude Code from the IDE (using the Claude Code button), a Claude Code terminal window opens and that works. But the plugin doesn't work - I get a "Cannot launch Claude Code" notification.

If I run the status command, I see: "Error installing PyCharm plugin: Could not find plugin directories for pycharm Please restart your IDE or try installing from https://docs.anthropic.com/s/claude-code-jetbrains"

Environment: IDE: IntelliJ IDEA 2025.1.3 (Ultimate Edition) OS: Windows 11 Claude Code: 1.0.51 Claude Code IntelliJ Plugin: 0.1.11-beta

vladt avatar Jul 15 '25 15:07 vladt

same issue on Ubuntu 25.04.

jdkruzr avatar Jul 19 '25 16:07 jdkruzr

Same issue here, funny thing is if i run outside of the IDE's terminal (normal terminal) Claude Code connects correctly to the IDE.

hkirste avatar Jul 23 '25 19:07 hkirste

Same issue in windows, 10.0.26100 Build 26100, anyone managed to solve this?

IdoAmar avatar Aug 03 '25 13:08 IdoAmar

Same issue in windows

ariedotcodotnz avatar Aug 08 '25 04:08 ariedotcodotnz

Same issue on Arch (Linux archlinux 6.16.0-2-cachyos)

fjoxdev avatar Aug 10 '25 06:08 fjoxdev

Same issue

OS: Windows 11 Android studio versions: Android Studio Narwhal Feature Drop | 2025.1.2 Patch 1 August 18, 2025, Android Studio Narwhal 4 Feature Drop | 2025.1.4 Canary 1 August 14, 2025 Claude code version: 1.0.85 Claude code plugin version: 0.1.11-beta

Edit: My issue automatically solved the day after I posted this comment

shahmir-ahmed avatar Aug 20 '25 10:08 shahmir-ahmed

Same issue in windows

leehow1988 avatar Aug 27 '25 09:08 leehow1988

In Windows 11, one issue I'm seeing is Claude /ide in PS must have cwd = IDE-project-cwd to connect

The Claude plugin is reporting cwd from Android Studio as a linux /mnt path thus they don't match and can't connect to IDE. So the plugin is installed BUT reporting wrong cwd.

One needed fix is in the cwd report from the plugin code, even if that isn't the whole fix for plugin.

eturk1 avatar Aug 27 '25 18:08 eturk1

Works in the ide on Windows when using Powershell, but fails when using Git Bash.

robertmylne avatar Sep 03 '25 00:09 robertmylne

From yesterday same problem here..

DkRsrl avatar Sep 11 '25 12:09 DkRsrl

For me it works in IntelliJ plugin on Fedora 42. But /status command shows

IDE: ✘ Error installing PyCharm plugin: Could not find plugin directories for pycharm Please restart your IDE or try installing from https://docs.claude.com/s/claude-code-jetbrains

First of all, the link is broken. And then when I fix the URL, clicking on install does not help. Still things work though. IDK if the issue is something real or cosmetic.

akostadinov avatar Oct 07 '25 18:10 akostadinov

This issue occurs after windows update and automatically solves after next update

shahmir-ahmed avatar Oct 08 '25 03:10 shahmir-ahmed

For me it works in IntelliJ plugin on Fedora 42. But /status command shows

IDE: ✘ Error installing PyCharm plugin: Could not find plugin directories for pycharm Please restart your IDE or try installing from https://docs.claude.com/s/claude-code-jetbrains

First of all, the link is broken. And then when I fix the URL, clicking on install does not help. Still things work though. IDK if the issue is something real or cosmetic.

The same on PyCharm, macOS. The plugin was installed and the Claude button is visible on top corner of the PyCharm and it works, but on /status it show:

 Settings:  Status   Config   Usage   (tab to cycle)

 Version: 2.0.11
 Session ID: 12345678-90123-4567-89ae-6f2a63cbe4ab
 cwd: /Users/myuser/project_folder/
 Login method: Claude Max Account

 Model: Default Sonnet 4.5 · Smartest model for daily use
 IDE:✘ Error installing PyCharm plugin: Plugin source missing
     Please restart your IDE or try installing from
     https://docs.claude.com/s/claude-code-jetbrains 

im-mit-dev avatar Oct 09 '25 09:10 im-mit-dev

Issue: WebStorm status command fails until PyCharm is installed - suggests missing dependency

I've encountered an unusual dependency issue with Claude Code in WebStorm that appears to be a bug in the JetBrains integration.

Description

Claude Code itself worked fine in WebStorm, but the status command consistently threw an error. After installing PyCharm and restarting WebStorm, the status command suddenly started working correctly.

Expected Behavior

WebStorm should work independently with Claude Code without requiring any other JetBrains IDEs to be installed. The status command should function correctly with only WebStorm present.

Actual Behavior

The status command fails in WebStorm when it's the only JetBrains IDE installed, but starts working after PyCharm is installed on the same system.

Root Cause Hypothesis

This suggests that some library code or dependency that the status command relies on is being read specifically from PyCharm's installation, and this dependency is not properly included or accessible in WebStorm's standalone installation.

Environment

  • WebStorm version: 2025.2.4
  • PyCharm version: 2025.2.4
  • OS: Windows 10 (Version 10.0.26100.6899)
  • Claude Code version: 2.0.27

Impact

This is a niche but significant issue that affects the reliability of Claude Code's JetBrains integration. Each IDE should function independently, and users shouldn't need to install multiple IDEs as a workaround.

Given JetBrains IDEs' popularity in the development community, improving AI integration reliability across all their products would be valuable.

prmayle avatar Oct 27 '25 16:10 prmayle

Same issue on Mac with Rider 2025.2.3 and Claude Code [Beta] 0.1.12-Beta

remixtedi avatar Nov 02 '25 10:11 remixtedi

IDEA Version 2025.1.6 Ultimate Release Claude Code version 2.0.55 claude code plugin version [Beta] 0.1.12-Beta

The above is the detailed content of Windows 11 24H2 environment, using the /status command to display it as follows:

Model: Default (claude-sonnet-4-5-20250929) IDE: ✘ Error installing PyCharm plugin: Plugin source missing Please restart your IDE or try installing from https://docs.claude.com/s/claude-code-jetbrains MCP servers: zai-mcp-server ✔ Memory: Setting sources: User settings, Shared project settings, Local, Command line arguments, Enterprise managed policies

But in my other macOS, this situation did not occur, IDEA is using 2024.1, I don't know if it's an IDEA version issue, I don't dare to blindly trial and error

Pronting avatar Nov 28 '25 22:11 Pronting

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.

github-actions[bot] avatar Dec 29 '25 10:12 github-actions[bot]

This should no longer happen since we have removed the option to auto-install by running claude within the built-in terminal, in favor of installing from the plugin marketplace: https://plugins.jetbrains.com/plugin/27310-claude-code-beta-

hackyon-anthropic avatar Jan 06 '26 02:01 hackyon-anthropic

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.

github-actions[bot] avatar Jan 13 '26 14:01 github-actions[bot]