Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find executable "radon". (but radon is installed.) #2

Open
RamonGiovane opened this issue May 12, 2022 · 3 comments
Open

Couldn't find executable "radon". (but radon is installed.) #2

RamonGiovane opened this issue May 12, 2022 · 3 comments

Comments

@RamonGiovane
Copy link

Hi. This extension is awesome, congrats!
But it worked for a few hours only.
Actually, after I updated VScode to 1.67.1 on my Linux Mint 20.2 it stopped.

It keeps showing a pop up saying
Couldn't find executable "radon".
Radon is installed, although.

@RamonGiovane RamonGiovane changed the title Couldn't find executable "radon". (but radon is is installed.) Couldn't find executable "radon". (but radon is installed.) May 12, 2022
@cdein
Copy link
Owner

cdein commented May 13, 2022

Hi, I am sorry that this is happening to you.

Please try to set the absolute path to your radon executable in the settings.

"python.radon.executable": "/home/cdein/.local/bin/radon"

So, I also have to do this, to make it work.

For some reason the environment of the vscode has no setting for the right path to find the radon executable.

@DaveParr
Copy link

If you are working within a specific project/ environment (venv, pyenv, poetry) the cli command which radon should output the path to copy and paste in.

@RichardsonWTR
Copy link

@cdein , is there any possibility to set the radon executable out from the interpreter path, dynamically?
It's such a pain having to change this configuration manually every time.

For example, some people use conda, others anaconda, others venv, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants