Notifications
Clear all

Configuring Arduino IDE for ESP32 in Debian

17 Posts
4 Users
5 Likes
2,915 Views
(@jfabernathy)
Member
Joined: 3 years ago
Posts: 141
 

@byron I think the problem is that since python2.7 is dead, a number of applications assume that when you type 'python' you are running 'python3.8'.  A number of distributions have python = python 2.7 and you get the newest one by running python3.  

Ubuntu now has a package called "python-is-python3" that when installed makes the python command execute python3.  That is what's needed for the ESP32 tools to work for Arduino and VSCode/platformIO

 

If your code won't compile, have another glass of bourbon. Eventual the problem will be solved.


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1121
 
Posted by: @jfabernathy

A number of distributions have python = python 2.7 and you get the newest one by running python3.

Are yes, I was forgetting that.  On my rpi I always include the following alias in the .bashrc file

alias pip=pip3

alias python=python3

which saves me from the cluches of python 2.7 😀 


   
YurkshireLad reacted
ReplyQuote
Page 2 / 2