alex maks
alex maks

Reputation: 31

Python import google.oauth2.credentials ImportError: No module named google.oauth2.credentials

i'm trying to run this bot https://github.com/ItsCEED/Youtube-Comment-Bot in mac os but i get this error

l:Youtube-Comment-Bot-master ROOTXX$ python yt.py
Traceback (most recent call last):
  File "yt.py", line 6, in <module>
    import google.oauth2.credentials
ImportError: No module named google.oauth2.credentials
l:Youtube-Comment-Bot-master ROOTXX$ 

Upvotes: 1

Views: 9402

Answers (1)

Hack5
Hack5

Reputation: 3601

Run in a root terminal:

pip install --upgrade google-api-python-client

From here, found with a google search.

EDIT: Even better, you linked the required libraries yourself. They are in the GitHub README.md at here. Please read your own links. Anyway, the commands to install follow:

# pip install --upgrade google-api-python-client
# pip install --upgrade requests
# pip install --upgrade beautifulsoup4

Upvotes: 3

Related Questions