Gents,
something is messed up with my atom ( fedora 25, 1.16.0x64).
I reinstalled the atom ( removing the ~/.atom , ~/.config/Atom directories in between).
Installed the PIO ( using atom package install functionality) only ( no other additional packages has been installed).
Created a new directory and copied one cpp file into “src” directory. Init the PIO project.
But when i’m trying to build the project i’m getting “Please make sure the package “Build” is installed and activated” message. At the same time if i issue the “pio build” command in the terminal the project compiles successfully .
Is there anything i can check to understand what is broken?
P.S. In the atom->terminal
platformio --version
PlatformIO, version 3.4.0a6
But if i type the same outside the ATOM:
[az@toshiba ~]$ platformio --version
Traceback (most recent call last):
File “/bin/platformio”, line 7, in
from platformio.main import main
File “/usr/lib/python2.7/site-packages/platformio/main.py”, line 22, in
import requests
ImportError: No module named requests
So it appears that i have 2 installations of PIO?
one ( working ) is in ~/.platformio/penv/bin/pio
and another in
which pio
/bin/pio
[az@toshiba ~]$ which platformio
/bin/platformio
How is that possible that i have 2 PIO installed?
Anyhow i got rid ( pip uninstall ) of "Successfully uninstalled platformio-2.11.2
PIO build in Atom is still not working.
Uninstalled “Build” package; restarted ATOM; PIO installed BUILD; reboot - still no luck with building in atom with PIO…
another try:
a. uninstalled pio from atom.
b. rm -rf ~/.platformio
c. installed PIO from atom; restarted
d. same problem - unable to compile due to build problem.
e. go to Packages->Build -> Select Active Taret and get " the file is not the part of any open project in Atom"
Getting a big cold beer and retiring for the night…