English 中文(简体)
没有一个称为gogleapiclient的单元。 页: 1
原标题:No module named googleapiclient.disocvery for YouTube api

我正试图利用YouTubeAPIC。 我需要安装gogle api python客户,并使用正确的指挥。 我正试图从我的终点站安装,这里是我使用的指挥。

pip3 install --upgrade google-api-python-client

该法律成功实施,并表明要求得到了满足。 然而,当我回头打碎笔记本时,它却继续犯错误。

第一编

from googleapiclient.disocvery import build
import pandas as pd

顺便说一句,我正在getting。

ModuleNotFoundError                       Traceback (most recent call last)
~AppDataLocalTemp/ipykernel_2792/1819596350.py in <module>
----> 1 from googleapiclient.disocvery import build
      2 import pandas as pd

ModuleNotFoundError: No module named  googleapiclient.disocvery 

有什么想法是我错做的? 我在此检查了以前的座右铭,建议是在我没有取得成功的情况下,使用Pip3取代起机。

这里是从终点站到显示满足这一要求的守则的最后一部分。 这一信息很长,我寄出最后一部分。

Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:usersqazwsappdatalocalprogramspythonpython38-32libsite-packages (from pyasn1-modules>=0.2.1->google-auth<3.0.0dev,>=1.19.0->google-api-python-client) (0.4.8)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:usersqazwsappdatalocalprogramspythonpython38-32libsite-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (2.0.8)
Requirement already satisfied: idna<4,>=2.5 in c:usersqazwsappdatalocalprogramspythonpython38-32libsite-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:usersqazwsappdatalocalprogramspythonpython38-32libsite-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (1.26.7)
Requirement already satisfied: certifi>=2017.4.17 in c:usersqazwsappdatalocalprogramspythonpython38-32libsite-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (2021.10.8)
WARNING: You are using pip version 22.0.3; however, version 22.2.2 is available.
You should consider upgrading via the  C:UsersqazwsAppDataLocalProgramsPythonPython38-32python.exe -m pip install --upgrade pip  command.
问题回答

看来,你误用了<代码>googleapiclient.disocvery,正确的拼写是googleapiclient.discovery





相关问题
没有一个称为gogleapiclient的单元。 页: 1

我正试图利用YouTubeAPIC。 我需要安装gogle api python客户,并使用正确的指挥。 我正试图从我的终点站安装,这里是我使用的指挥。

热门标签