Getting ESP8266 to work on MAC

Hello,

I am still a beginner so please bare with me!

I just bought a ESP8266 and want to get it to work. I have gone through many different guides and I am still battling with this. OBSERVE I AM USING MAC. I have installed the board using this link in preferences.
https://github.com/esp8266/Arduino/releases/download/2.3.0/package_esp8266com_index.json
Then i installed ESP8266 by ESP8266 community.

I have then installed the Blynk Library and other neccessary parts (to my knowledge). I am trying to run a simple code of turning a LED ON/OFF using Blynk. The code is as follows:

#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "...";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "...";
char pass[] = "...";
py
void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}

void loop()
{
  Blynk.run();
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!
}

And this is the error I get

fork/exec /Users/.../Documents/Arduino/hardware/esp8266com/esp8266/tools/python3/python3: no such file or directory 
exit status 127
Error compiling for board Generic ESP8266 Module.

After going trough this thread and following each step I still get the same error trying to compile the code...

What am I doing wrong? Is it supposed to be this hard getting esp8266 to work?

Cheers!

EDIT:

I forgot to mention that I am using a connection of Arduino Uno together with ESP8266. And I Just saw that my error message has changed a bit to this (without a directory link):

env: python3: No such file or directory
exit status 127
Error compiling for board Generic ESP8266 Module.

UPDATE: Now I have Managed to get the Arduino IDE to accept my python3 with

python3 get.py in the folder such that i now have the full path:

/Users/.../Documents/Arduino/hardware/esp8266com/esp8266/tools/python3/python3

I now however get another error message...

In file included from /Users/Pingi/Documents/Arduino/Code/test_ESP8266/test_ESP8266.ino:39:0:
/Users/Pingi/Documents/Arduino/libraries/Blynk/src/BlynkSimpleEsp8266.h:18:21: fatal error: version.h: No such file or directory
 #include <version.h>

                     ^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.

I don't understand what the problem is...

  • I have the latest Arduino Core
  • I have the latest ESP8266 Core
  • I have the latest of all required libraries (Blynk etc.)

Where is "get.py"?