I followed the instructions on the web page https://docs.espressif.com/projects/esp ... index.html for the installation of ESP-IDF
I use raspberryPi with raspbian (python 3 is pre-installed) but it seems that esp-idf can't see Python 3 ... It sees Python 2.7 and informs that some features are disabled.
I cannot compile or load programs on ESP 32.
How can I solve?
python 2.7 vs python 3
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: python 2.7 vs python 3
Hi gpalmia,
Does this mean that "python --version" shows Python 3? If not then "update-alternatives" should work on RPI as well for changing the default Python interpreter.
Does this mean that "python --version" shows Python 3? If not then "update-alternatives" should work on RPI as well for changing the default Python interpreter.
Re: python 2.7 vs python 3
Thank you ESP_Roland
The python version returned to the command 'python --version' is 2.7.16 while if I execute 'python3 --version' the command returns 3.7.3.
Which argument should I use for the command you suggest (update-alternative <argument>)?
Thank you very much for the answer
The python version returned to the command 'python --version' is 2.7.16 while if I execute 'python3 --version' the command returns 3.7.3.
Which argument should I use for the command you suggest (update-alternative <argument>)?
Thank you very much for the answer
Re: python 2.7 vs python 3
It work!
Thanks you ESP_Roland!
I folowed suggestions of this page (https://linuxconfig.org/how-to-change-f ... bian-linux) and now all work fine...
Thanks you ESP_Roland!
I folowed suggestions of this page (https://linuxconfig.org/how-to-change-f ... bian-linux) and now all work fine...
Who is online
Users browsing this forum: No registered users and 124 guests