Problem installing espressif/arduino-esp32 library

Did you restart the Arduino IDE after installing the EPS32 package? You need to close all IDE windows and then start the IDE.