Python issues and suggested updates
Posted: Sun Feb 16, 2020 4:48 pm
Hi,
I have rebuilt my laptop and done a clean install of idf and the eclipse plugin. I have a couple of questions / observations
1. The Eclipse plugin seems to require python v3.7 which on my system (Ubuntu 19.10) is installed as python3 as opposed to python. In the install tools section I can point it at the correct one in the config box that pops up. Is this correct?
2. Reason for question 1 is that although the plugin refers to just cloning the idf repo, I had some errors which implies I need to have done the full install process for IDF (e.g. running install.sh). Now this has a dependency on python which would be version 2.7. So as far as I can tell in the install the tools will use v2.7 but in Eclipse it will build using 3.7? Is this correct?
3. If I am on the right track, I think the eclipse readme needs updating to be clearer on what IDF prerequisites are required. Linking to the right places in the docs would be helpful I guess.
EDIT added 4
4. The prerequisites from the IDF install gives a ubuntu line to install the dependencies. This installed python v2.7. The install,sh script raises errors saying that v2.7 is now end of life.
Thanks
Lee.
I have rebuilt my laptop and done a clean install of idf and the eclipse plugin. I have a couple of questions / observations
1. The Eclipse plugin seems to require python v3.7 which on my system (Ubuntu 19.10) is installed as python3 as opposed to python. In the install tools section I can point it at the correct one in the config box that pops up. Is this correct?
2. Reason for question 1 is that although the plugin refers to just cloning the idf repo, I had some errors which implies I need to have done the full install process for IDF (e.g. running install.sh). Now this has a dependency on python which would be version 2.7. So as far as I can tell in the install the tools will use v2.7 but in Eclipse it will build using 3.7? Is this correct?
3. If I am on the right track, I think the eclipse readme needs updating to be clearer on what IDF prerequisites are required. Linking to the right places in the docs would be helpful I guess.
EDIT added 4
4. The prerequisites from the IDF install gives a ubuntu line to install the dependencies. This installed python v2.7. The install,sh script raises errors saying that v2.7 is now end of life.
Thanks
Lee.