How to solve issue of ModuleNotFoundError: No module named 'pydrive' in Virtual Studio Code

216 Views Asked by At

I did pip install pydrive in the command prompt... tried many forms of doing that pip3 install pydrive, python3 -m pip install PyDrive...

still getting the error when running the following python code in virtual studio code:

from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
gauth = GoogleAuth()           
drive = GoogleDrive(gauth)
0

There are 0 best solutions below