I am installing the Earth Engine Python API, when setting the authentication credentials with the command:
python -c "import ee; ee.Initialize ()"
I get the error:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\arles/.config/earthengine/credentials'
- In addition to that, it only remains to say that I am working with win 10 and that the cmd has administrator permissions. Thanks in advance.
Here is a video where the earth engine package is configured correctly and you don't have this problem: https://youtu.be/Zr_cItq9wJU
The error arose mainly from the generation of credentials and this happened because I should have previously executed the command:
Which is necessary for authentication, after that make sure that in the route:
In said path, the folder created earthengine does not exist, hence the error PermissionError: [Errno 13], after that execute the command:
This command will allow you to obtain an authentication code that must be pasted into the terminal.
Finally execute the command that generated the error and everything will be successful: