#include <Ethernet.h> Error

I am trying to use the Ethernet.h and it is erroring stating #include errors detected, please update your build path. I’ve done everything I’ve read online and nothing has resolved my issue. My platformio.ini includes the ethernet library. Any ideas?
error

What’s the platformio.ini?

Did you do a Ctrl+Shift+P → Rebuild Intellisense afterwards?

It is resolved, I had to go to the libraries tab in PIO Home and install the necessary libraries. :rage:

#Solved- I like to solve this problem by editing the platformio.ini and using the line from the install section (this link Ethernet.h install section as follows:

[env:uno]
.
.
.
lib_desp = SPI
           arduino-libraries/Ethernet@^2.0.2

save the file and automatically the library is installed.
Note that the word uno may change in your case.