Getting compile errors no matter what project/board/connection I use

I am trying to get arduino to compile any code and no matter which board I use, no matter which project I use (i.e. an example that is included with arduino, a sketch that I copy off the internet, or even a new sketch without any code other than what appears when a new sketch is opened) and nothing is working. I get all kinds of errors, though most of them are "env: python3: no such file or directory" (even though I checked it multiple times and confirmed all the required files are in their proper places) or several versions of an error with java, or missing libraries, or duplicate libraries. The last two I am able to fix each time they come up, but the others I cannot figure out, especially the python3 one that happens in any sketch I try to compile no matter what board/settings/project I use. The others appear intermittently with some sketches but not others, and there is no pattern as to which sketches or when they happen. I have included some of the error messages I get from different sketches below, but I have tried so many that there is not enough space to put even just the error messages alone from each of them.

=========================================

Arduino: 1.8.13 (Mac OS X), Board: "LOLIN(WEMOS) D1 R2 & mini, 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, 921600"

env: python3: No such file or directory
Multiple libraries were found for "Ethernet.h"
Used: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/Ethernet
Not used: /Applications/Arduino.app/Contents/Java/libraries/Ethernet
Using library Wire at version 1.0 in folder: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/Wire 
Using library Ethernet at version 1.0.4 in folder: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/Ethernet 
Using library ACROBOTIC_SSD1306 at version 1.0.1 in folder: /Users/user/Documents/Arduino/libraries/ACROBOTIC_SSD1306 
Using library SPI at version 1.0 in folder: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/SPI 
exit status 127
/Applications/Arduino.app/Contents/Java/arduino-builder returned 127
Error compiling for board Generic ESP8266 Module.

==========================================

Arduino: 1.8.13 (Mac OS X), Board: "LOLIN(WEMOS) D1 R2 & mini, 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, 921600"

env: python3: No such file or directory
Using library Wire at version 1.0 in folder: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/Wire 
Using library SparkFun_BME280 at version 2.0.8 in folder: /Users/user/Documents/Arduino/libraries/SparkFun_BME280 
Using library SPI at version 1.0 in folder: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/SPI 
Using library ESP8266WiFi at version 1.0 in folder: /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/ESP8266WiFi 
exit status 127
/Applications/Arduino.app/Contents/Java/arduino-builder returned 127
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

======================================

If it helps, the first set of errors here came from a project on Youtube by GreatScottLab and the video is called "DIY Weather Station & WiFi Sensor Station || ESP8266, Nextion LCD"

Thanks in advance for any help,
Fenix

If you post your code as described in the how to use this forum sticky, more members will read it.
Also post your error messages in code tags.

What board are you using? What version is the IDE? What version of Python do you have installed?

Also, what is your IDE installed on?

Looks like problem with ESP8266 hardware package installation to me.

Either that, or problem with sketch.

SteveMann:
If you post your code as described in the how to use this forum sticky, more members will read it.
Also post your error messages in code tags.

What board are you using? What version is the IDE? What version of Python do you have installed?

Also, what is your IDE installed on?

Yeah, sorry about that. It was past midnight last night when I wrote this and had a bunch of other stuff on my mind as well, and obviously forgot to put that in and use the code tags.
Anywho, to answer your questions, I will say this;

I am currently using a MacBook Pro (2017 I think?), but I also use a Windows 10 Education laptop with the same versions of IDE, Python, and both laptops have all the required and up-to-date libraries, boards, and 3rd party software (i.e. Python, Java, Xcode for the MacBook, etc). Although I have the Windows 10 laptop, I have not tried any of these on it yet as it is not accessible to me right now.

I am using the latest version of the IDE, as I just downloaded it about 3 days ago (not the hourly builds or any other pre-release versions, only the stable version(s), and if you still want to know, it is v1.8.13).

I am also using the latest version of Python, I just downloaded it 3 days ago at the same time as I downloaded the IDE (if you still want to know, it is v3.8.3)

As I stated in my original post, I am using multiple board(s) of different types (i.e. WeMos D1 R2 Mini, ESP8266 NodeMCU ESP-12 and ESP-12E, Nextion NX3224T024 W1, Yellow&Blue I2C IIC 128X64 OLED Serial, along with several sensors -thermal, barometric and others). That said, I did not list the boards because they don't seem to be the problem as all the errors happen when compiling/verifying and not when uploading (I haven't even trid to upload anythin to a board yet because of these errors). It seems that the errors are in the computer and/or arduino IDE itself, because my laptop recognises the boards just fine and they show up on the "System Information" box.

I have also confirmed that the env path for python is correct (PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH} ) and that none of the files for Python, Java, Arduino IDE, the boards, and the libraries are corrupted.

Thank you again,
Fenix

DrAzzy:
Looks like problem with ESP8266 hardware package installation to me.

Either that, or problem with sketch.

Thank you for the advice, but 1, as I stated in my original post, I tried using a code I copied from a very reliable source (Youtube user GreatScottLab, he does a ton of arduino videos), or I tried one of the examples/templates that is included in arduino without editing any part of the code other than parts such as wifi ssid, password for wifi, laptop's username in file paths, etc. and 2, though I did not mention this earlier, I am a complete noob at coding so I only edit parts like I said I did this time.

As for the "hardware package installation", I am not sure what you mean, but I have both uninstalled & re-installed ( both trying to keep my sketches, boards & libraries and also starting completely clean, i.e. deleted any and all files having to do with arduino), and re-downloaded all the software that I listed above including the drivers for each of the boards I am using and all requisite drivers and software.

Thank you though.

Do you have Python3 installed? My Mac has a "Python 3.8" folder in Applications. Does yours?

You can find the installers here: Python Releases for macOS | Python.org

johnwasser:
Do you have Python3 installed? My Mac has a "Python 3.8" folder in Applications. Does yours?

You can find the installers here: Python Releases for macOS | Python.org

Thank you for the information, but as I stated earlier, I have all the requisite programs and libraries/boards installed which includes Python. And yes, I do have Python 3 installed, it is installed in the following directory
Macintosh HD/Applications/Python3.8/

Is it possible I need to copy (not move lol) the core Python files somewhere?

Maybe something went wrong after the Python install. Since the error message mentions 'env' (environment variables) I opened the Terminal app and use the command 'env' to see how the variables were set. The only one mentioning python is:

PATH=/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

Since 'python3' is also mentioned so I tried that command and got:

Johns-MacBook-Pro-2:~ john$ python3
Python 3.8.1 (v3.8.1:1b293b6006, Dec 18 2019, 14:08:53) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

Could you try those on your system to see if you get similar results?