question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clion: PlatformIO utility is not found but installed

See original GitHub issue

Configuration

Operating system: Linux 5.9.8-2-MANJARO, Manjaro

PlatformIO Version (platformio --version): 5.0.3

Description of problem

image PlatformIO seems to be installed and in path and i can execute pio commands from any terminal, but clion refuses to recognize it.

Steps to Reproduce

  1. Install platform.io as described here
  2. Update path
  3. Try executing pio and see that it works
  4. Try creating a new PlatformIO project

Actual Results

Get the error message: PlatformIO utility is not found but installed

Expected Results

Set up new project

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
danielroehrigcommented, Nov 23, 2020

You were right. I needed to add the PlatformIO path to my .profile. Thanks for your help.

0reactions
UtechtDustincommented, Sep 25, 2022

I run into the same issue (Ubuntu), is related to https://youtrack.jetbrains.com/issue/CPP-29187/Clion-and-PlatformIO-using-defaults-does-not-find-the-PIO-installation. Clion don’t use the PATH Variable from .bashrc, as suggested in the issue i tried to start clion from cli but i don’t fixed the issue for me.

The following workaround works fine for me (create symlinks instead of appending to the PATH)

ln -s ~/.platformio/penv/bin/platformio /home/<username>/.local/bin/platformio
ln -s ~/.platformio/penv/bin/pio /home/<username>/.local/bin/pio
ln -s ~/.platformio/penv/bin/piodebuggdb /home/<username>/.local/bin/piodebuggdb
Read more comments on GitHub >

github_iconTop Results From Across the Web

PlatformIO utility is not found - clion - Stack Overflow
Hello i am getting problems with CLion 2020 that when I try create a new PlatformIO project, it just says "PlatformIO utility is...
Read more >
PlatformIO does not show boards when making a new project ...
It says “PlatformIO utility not found”. When you open a shell ( cmd.exe ) the pio command is not available right?
Read more >
Platformio Utility Is Not Found Clion - ADocLib
In case when platformIO utility is not found there is no possibility to install in from CLion.Even if you open terminal and install...
Read more >
Use CLion and PlatformIO to Program Your Microcontroller
Installing the CLion PlatformIO Plugin ... If it says PlatformIO utility is not found, you missed the previous step, so do it now...
Read more >
CLion Arduino support – IDEs Support (IntelliJ Platform)
It seems the PlatformIO utility is not installed on your machine. Please follow this guide https://docs.platformio.org/en/latest/integration/ide ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found