Command not found

Hello everyone,

I tried to install pio core I use pip install platformio it was installed without problem but when I tried to use pio or platformio command it said command not found.

Thank you for your answers.

How did you install PIO Core? What is your OS?

As I said before I just used pip install -U platformio and I’m in ubuntu 17.1 freshly installed. My friend try the same thing with the same ubuntu and freshly installed too but for him it works I also tried the other method of installation with the script.

Please provide an output from a system Terminal

echo $PATH
python --version
pip --version
pip list

I facing the same problem on Debian 9 Stretch. Output of these commands for me is:

chufyrev@cbpp:~$ echo $PATH
chufyrev@cbpp:~$ echo $PYTHONPATH

chufyrev@cbpp:~$ python --version
Python 2.7.13
chufyrev@cbpp:~$ pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
chufyrev@cbpp:~$ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
apt-xapian-index (0.49)
arandr (0.1.9)
bottle (0.12.13)
certifi (2018.4.16)
chardet (3.0.4)
click (5.1)
colorama (0.3.9)
cryptography (1.7.1)
enum34 (1.1.6)
idna (2.6)
ipaddress (1.0.17)
keyring (10.1)
keyrings.alt (1.3)
lockfile (0.12.2)
numpy (1.12.1)
obMenu (1.0)
paramiko (2.0.0)
pip (9.0.1)
platformio (3.5.3)
psutil (5.0.1)
pyasn1 (0.1.9)
pycrypto (2.6.1)
pygobject (3.22.0)
pyserial (3.4)
python-apt (1.4.0b3)
python-debian (0.1.30)
pyxdg (0.25)
requests (2.18.4)
SecretStorage (2.3.1)
semantic-version (2.6.0)
setuptools (39.2.0)
six (1.10.0)
urllib3 (1.22)
wheel (0.29.0)

I can invoke PlatformIO via python -m command though:

chufyrev@cbpp:~$ python -m platformio --version
PlatformIO, version 3.5.3
1 Like

Exactly the same issue here, somehow the platformio binary is not installed, just the site packages in python.

This is an ubuntu based system.

ajo@chromito:~$ find / -name platformio 2>/dev/null


How did you install PlatformIO Core? Which method? Redirecting...

hey @ivankravets thanks. I used the installer script

I recommend to uninstall global PlatformIO Core from a system, see Redirecting....

Then, please Install PlatformIO Core into Virtual Environment and Install Shell Commands.

Having this installation, you can keep PlatformIO Core in isolated environment.