PyCharm Reformat Inoperable

Answered

I have a new install of PyCharm 2024.3 Professional on MacBook Air (M1) running MacOS Sequoia 15.0.1). When I try to reformat a .py file, I get the following error: 
Unable to run command: Executable not provided or does not exist, or project path not found in local file system. I have done a full uninstall and reinstall. I have also installed Black in the venv and still get the same error (screenshot below). Am I missing a configuration step?

0
4 comments

Hi Mark D Lattimore, do you have anything configured under File | Settings | Tools | File Watchers ? Would you please share a screenshot of it?

For a better understanding of this behavior, can you please share logs from Help | Collect Logs and Diagnostic Data after reproducing the error? Please upload it to https://uploads.services.jetbrains.com and let me know the upload ID.
 

0

Uploaded the logs. ID: 2024_12_02_6i9haKuYiCk257wPXGFQ9k

There is nothing configured in File Watchers.
 

Many thanks!

0

Mark D Lattimore

Unable to run command: Executable not provided or does not exist, or project path not found in local file system.

The error appears to be caused by this plugin: RyeCharm. Does it start working as expected with all non-bundled plugins disabled?

Custom plugins: [RyeCharm (0.1.0-alpha-4), VSCode Theme (1.10.14)]

To troubleshoot the plugin issue, I would first check if Ruff , Rye and uv are installed in the system. If this doesn't help, please create an issue on Plugins github.

1

Disabling RyeCharm did the trick (I assume it was looking for the Ruff formatter?). I'll likely keep it disabled and wait for PyCharm to add uv support.

Thanks again!

0

Please sign in to leave a comment.