首页 > 其他分享 >ModuleNotFoundError: No module named 'google_drive_downloader'&&No matching distribution f

ModuleNotFoundError: No module named 'google_drive_downloader'&&No matching distribution f

时间:2023-11-06 16:38:13浏览次数:40  
标签:google downloader demo No GitHub Documents caface liruilong py

安装 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

标签:google,downloader,demo,No,GitHub,Documents,caface,liruilong,py
From: https://www.cnblogs.com/liruilong/p/17813020.html

相关文章

  • P3202 [HNOI2009] 通往城堡之路
    考虑将每个支撑点都先设成其下限高度,即\(h_i\getsh_1-(i-1)\timesd\),这样就只会提高某些支撑点的高度。显然每次提高的是一个后缀。提高某个后缀的贡献是当前高度低于原先高度的支撑点数量减去当前高度不低于原先高度的支撑点数量。选择贡献最大的后缀直到最后一个支撑点的高......
  • Content type 'text/plain;charset=UTF-8' not supported
    Content type 'text/plain;charset=UTF-8' not supported#Content type 'text/plain;charset=UTF-8' not supportedhttps://blog.csdn.net/qwdafedv/article/details/53005418前端TypeError:(0,_login.default)isnotafunction报错#import原因:引......
  • Google maps api demo
    demo:<!DOCTYPEhtml><html><head><metaname="viewport"content="initial-scale=1.0,user-scalable=no"><metacharset="utf-8"><title>KMLLayers</title><style>......
  • Google maps api demo 2
     demo/***@fileoverviewSampleshowingcapturingaKMLfileclick*anddisplayingthecontentsinasidepanelinsteadof*anInfoWindow*/varmap;varsrc='https://developers.google.com/maps/tutorials/kml/westcampus.kml';/***......
  • Address already in use: make_sock: could not bind to address [::]:80
    **********************************************************处理办法:#ps-aux|grephttpWarning:badsyntax,perhapsabogus'-'?See/usr/share/doc/procps-3.2.7/FAQroot    120790.00.061164  720pts/1   S+  16:06  0:00grephttp#ps-aux|......
  • Google maps API
    https://developers.google.com/kml/documentation/kml_tuthttps://developers.google.com/maps/documentation/javascript/examples/layer-kml?hl=zh-cnhttps://developers.google.com/maps/tutorials/kml/https://developers.google.com/maps/support/kmlmapshttps://develo......
  • 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程
    报错:1130-host...isnotallowedtoconnecttothisMySqlserver开放mysql远程连接不使用localhost解决方法:1。改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改"mysql"数据库里的"user"表里的"host"项,从"......
  • ImportError: No module named argparse
    如果有root权限,可以运行:easy_installargparse 如果没有root权限,Asasimplesolutioncopyargparse.pyfromhttps://code.google.com/p/argparse/source/browse/argparse.pytoyourprojectfolder. REF:https://pypi.python.org/pypi/argparsehttps://code.google.com/p/arg......
  • INotifyPropertyChanged
      可以将TextBox控件(其他控件也基本一样)与某个变量进行绑定,做出改变变量则控件也跟着改变的效果。  首先需要声明一个类,该类用来与控件绑定:usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Runtime.CompilerServices;namespaceTestWPF{......
  • nvm实现对nodejs的版本管理
    下载Releases·nvm-sh/nvm·GitHub介绍在我们的日常开发中经常会遇到这种情况:手上有好几个项目,每个项目的需求不同,进而不同项目必须依赖不同版的NodeJS运行环境。如果没有一个合适的工具,这个问题将非常棘手nvm应运而生,nvm是Mac下的node管理工具,有点类似管理Ruby的rvm,如果......