[Solved] When using pio command pkg_resources.DistributionBotFound


When I use the pio command I get: pkg_resources.DistributionNotFound: The ‘platformio==3.3.0a1’ distribution was not found and is required by the application

I tried to reinstall setuptools. I have installed platformio again. I used to have version 2.3 so I installed version 3.3.0a10 and nothing seems to work.

I use Archlinux and use python 2.7.11+

Thank you in advance

What do you see with $ pip list?

With some more searching and digging around I found that pio and python2 got installed in /usr/local/bin and also in /usr/bin. the python that was installed in /usr/local/bin didn’t work for some reason so I deleted both and now it works great. But thank you that you wanted to help me.