ModuleNotFoundError: No module named 'google_drive_downloader'&&No matching distribution found for google_drive_downloader

发布时间 2023-11-06 16:23:05作者: 山河已无恙

安装 googledrivedownloader

(adaface) C:\Users\liruilong\Documents\GitHub\caface_demo\demo>python main.py --fusion_method cluster_and_aggregate
Traceback (most recent call last):
  File "main.py", line 17, in <module>
    from face_detection.detector import FaceDetector
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\detector.py", line 1, in <module>
    from . import fastface as ff
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\fastface\__init__.py", line 1, in <module>
    from . import adapter, dataset, loss, metric, transforms, utils
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\fastface\adapter\__init__.py", line 3, in <module>
    from .gdrive import GoogleDriveAdapter
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\fastface\adapter\gdrive.py", line 3, in <module>
    from google_drive_downloader import GoogleDriveDownloader as gdd
ModuleNotFoundError: No module named 'google_drive_downloader'

(adaface) C:\Users\liruilong\Documents\GitHub\caface_demo\demo>python main.py --fusion_method cluster_and_aggregate
Traceback (most recent call last):
  File "main.py", line 17, in <module>
    from face_detection.detector import FaceDetector
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\detector.py", line 1, in <module>
    from . import fastface as ff
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\fastface\__init__.py", line 1, in <module>
    from . import adapter, dataset, loss, metric, transforms, utils
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\fastface\adapter\__init__.py", line 3, in <module>
    from .gdrive import GoogleDriveAdapter
  File "C:\Users\liruilong\Documents\GitHub\caface_demo\demo\face_detection\fastface\adapter\gdrive.py", line 3, in <module>
    from google_drive_downloader import GoogleDriveDownloader as gdd
ModuleNotFoundError: No module named 'google_drive_downloader'

(adaface) C:\Users\liruilong\Documents\GitHub\caface_demo\demo>pip install google_drive_downloader  -i  https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement google_drive_downloader (from versions: none)
ERROR: No matching distribution found for google_drive_downloader

(adaface) C:\Users\liruilong\Documents\GitHub\caface_demo\demo>pip install googledrivedownloader  -i  https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting googledrivedownloader
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3a/5c/485e8724383b482cc6c739f3359991b8a93fb9316637af0ac954729545c9/googledrivedownloader-0.4-py2.py3-none-any.whl (3.9 kB)
Installing collected packages: googledrivedownloader
Successfully installed googledrivedownloader-0.4

(adaface) C:\Users\liruilong\Documents\GitHub\caface_demo\demo>python main.py --fusion_method cluster_and_aggregate