Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: No module named 'oauth2client' #5

Open
bt400 opened this issue Aug 13, 2022 · 2 comments
Open

error: No module named 'oauth2client' #5

bt400 opened this issue Aug 13, 2022 · 2 comments

Comments

@bt400
Copy link

bt400 commented Aug 13, 2022

Hi, I just found python code, I am not good on python, and I tried it, I got this error:
from oauth2client.client import flow_from_clientsecrets ModuleNotFoundError: No module named 'oauth2client' ImportError: No module named OAuth2Client

I have tried these:
pip install --upgrade oauth2client
pip3 install --upgrade oauth2client
pip install --upgrade google-api-python-client
python -m pip install –-upgrade pip

but I get the same error,
any way to solve it?
thanks

@bt400
Copy link
Author

bt400 commented Aug 13, 2022

I delete everything and started again, this time I get this error:
AppData\Roaming\Python\Python38\site-packages\prawcore\auth.py", line 38, in _post raise ResponseException(response) prawcore.exceptions.ResponseException: received 401 HTTP response

I have checked my Reddit client id and the client secret are correct, any idea?

@iranssantos
Copy link

Try this:

conda install -c conda-forge oauth2client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants