jac_3d
March 14, 2020, 5:50pm
1
ich kriege dauernd diese Fehlermeldung wenn ich etwas auf den esp8266 hochladen will:
fork/exec /Users/macmini/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Fehler beim Kompilieren für das Board Generic ESP8266 Module.
Das tut mir sehr leid für Dich, aber danke für die Info.
Hallo,
dann schau mal nach ob der Pfad bei dir überhaupt existiert.
Wenn ja, ob darin diverse Dateien liegen.
Und schreib doch mal, wenn deine Zeit es zulässt, welchen ESP8266 du einsetzt.
Und auch auf welchen Betriebssystem das ganze passiert.
Gruß Tommy
pert
March 15, 2020, 12:50am
6
Hier ist die Erklärung und Lösung:
opened 12:36PM - 21 Dec 19 UTC
closed 02:53PM - 14 Jan 20 UTC
### Basic Infos
- [x] This issue complies with the [issue POLICY doc](https:/… /github.com/esp8266/Arduino/blob/master/POLICY.md).
- [x] I have read the documentation at [readthedocs](https://arduino-esp8266.readthedocs.io/en/latest) and the issue is not addressed there.
- [x] I have tested that the issue is present in current master branch (aka latest git).
- [x] I have searched the issue tracker for a similar issue.
- [x] If there is a stack dump, I have decoded it.
- [x] I have filled out all fields below.
#### Platform
- Hardware: [ESP8266-12e]
- Core Version: [21/12/2019 12:10pm GMT]
- Development Env: [Arduino IDE]
- Operating System: [MacOS]
### Settings in IDE

### Problem Description
Edit by @devyte:
The problem seems to be that the build process doesn't find python3 on MacOS. Duplicate WiFi libs warning is unrelated.
Original Problem Description follows.
--------------------------------------------------------------------------------------------------------------------
When including the library and selecting the board, any code i use whether it is the wifi search or the code I was looking to use in my project, I get the following error:
```
Arduino: 1.8.10 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Multiple libraries were found for "ESP8266WiFi.h"
Used: /Users/xxxx/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266WiFi
fork/exec /Users/xxxx/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
```
If i remove the library it finds nothing. This is a new installation on my mac so there wouldn't be any conflicts. Not sure if anyone has experienced the same..? Seems likely unless i'm doing something very wrong, but looking at the current issue list I cannot see anything like this.
Thanks
### [MCVE](https://stackoverflow.com/help/mcve) Sketch
```cpp
/*
This sketch demonstrates how to scan WiFi networks.
The API is almost the same as with the WiFi Shield library,
the most obvious difference bei›‹‹›ng the different file you need to include:
*/
#include "ESP8266WiFi.h"
void setup() {
Serial.begin(115200);
// Set WiFi to station mode and disconnect from an AP if it was previously connected
WiFi.mode(WIFI_STA);
WiFi.disconnect();
delay(100);
Serial.println("Setup done");
}
void loop() {
Serial.println("scan start");
// WiFi.scanNetworks will return the number of networks found
int n = WiFi.scanNetworks();
Serial.println("scan done");
if (n == 0) {
Serial.println("no networks found");
} else {
Serial.print(n);
Serial.println(" networks found");
for (int i = 0; i < n; ++i) {
// Print SSID and RSSI for each network found
Serial.print(i + 1);
Serial.print(": ");
Serial.print(WiFi.SSID(i));
Serial.print(" (");
Serial.print(WiFi.RSSI(i));
Serial.print(")");
Serial.println((WiFi.encryptionType(i) == ENC_TYPE_NONE) ? " " : "*");
delay(10);
}
}
Serial.println("");
// Wait a bit before scanning again
delay(5000);
}
```
### Debug Messages
```
Arduino: 1.8.10 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Multiple libraries were found for "ESP8266WiFi.h"
Used: /Users/xxxx/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266WiFi
fork/exec /Users/xxxx/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
```