BOT-HAT / Youtube-First-Comment-Bot

A bot for automatically post comment when a youtube channel upload a new video.
133 stars 51 forks source link

No module named apiclient.discovery #12

Closed Libertas007 closed 2 years ago

Libertas007 commented 3 years ago

Hi, I was trying to run this program, I installed all modules in requierements.txt and I run python bot.py from command line. And I got an error: File "C:\path\to\bot\bot.py", line 6, in <module> from apiclient.discovery import build_from_document ModuleNotFoundError: No module named 'apiclient.discovery'.

What should I do?

ghost commented 3 years ago

Try updating your python / retry downloading all modules from requirements.txt.

ghost commented 3 years ago

sudo pip install --upgrade google-api-python-client it worked for me