运行create_broadcast.py无法找到apiclient

时间:2016-04-26 00:15:49

标签: python

当我运行create_broadcast.py时,会收到以下错误消息。

 Traceback (most recent call last):
  File "create_broadcast.py", line 7, in <module>
    from apiclient.discovery import build
ImportError: No module named 'apiclient'

1 个答案:

答案 0 :(得分:1)

您需要在终端

中安装google-api-python-client以下命令
pip install --force-reinstall google-api-python-client

希望它会有所帮助:)