iterative / iterative/PyDrive2
Fail to authenticate with pydrive2 to google drive
- Lingua principale
- Python
- Stelle
- 670
- Fork
- 75
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I am using the following standard code.
```
from pydrive2.drive import GoogleDrive
from pydrive2.auth import GoogleAuth
# Authenticate and create the PyDrive client.
gauth = GoogleAuth()
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)
```
I am getting the following error.
I am using MacOS (intel).
I was able to find such issue in stackoverflow also
https://stackoverflow.com/questions/64995468/fail-to-authenticate-with-pydrive-to-google-drive
The solution from stackoverflow is not working for me.
I am using PyDrive2 1.17.0
How can I sole the issue? I am using port 8080. Should I try another port?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo l'esempio standard GoogleAuth LocalWebserverAuth su macOS con PyDrive2 1.17.0 e la porta 8080, quindi confronta l'errore segnalato con la soluzione alternativa collegata di Stack Overflow. Il problema è risolto quando l'esempio esegue correttamente l'autenticazione e crea il client GoogleDrive.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, authentication
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 28/100