Unable to create project using the espressif iot development framework

Hey there, i’m trying to create a new project for the ESP32, but i can’t seen to be able to create the project using the espressif framework, only the arduino one. If i try to use the espressif framework i get the following error:
"Could not initialize project PIO Core Call Error: “The current working directory […] Could not install packages due to an OSError: [WinError 5] Acesso negado: ‘C:\\Users\\tomas\\.platformio\\penv\\Lib\\site-packages\\~=arset_normalizer\\md.cp39-win_amd64.pyd’\r\nCheck the permissions.”

I have checked, and there doesn’t seem to be a permission problem with my user (i’m the admin), same thing happens on windows 11 and 10, i also tried dowloading previous version of PIO but that didn’t solve it either, any help would be appreciated.