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.
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.