Clang is not detected on a new Ubuntu 17.10 beta. Platformio is complaining that clang is not installed and ask me to install now, remind later or disable. Clang is installed and if I click install now it is successful and ask me to restart. After restart it still complains.
Here is the output about clang version from terminal:
From PIO terminal it is reported with an error:
stojanos@stojanos-EZbook:~/Documents/PlatformIO/Projects/171007-115736-pro8MHzatmega328$ clang --version
clang: /snap/atom/36/usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1: version `LLVM_4.0’ not found (required by clang)
Software center installs Atom as a snap. Uninstall the existing Atom and install using the .deb file available from the Atom website. Then, your issue will be solved.