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

ModuleNotFoundError: No module named 'model' #7

Open
mildsauceminds opened this issue May 5, 2020 · 3 comments
Open

ModuleNotFoundError: No module named 'model' #7

mildsauceminds opened this issue May 5, 2020 · 3 comments

Comments

@mildsauceminds
Copy link

mildsauceminds commented May 5, 2020

Its a bit insane to me that we've got developers working on OAuth and they name packages "model"... Oauth* always seems to be a mess to work with.

ANYWAYS, if anyone is having similar problems.

NOTE I am running this in python3.

$ python GetUserAccessToken.py

Throws this error:

python GetUserAccessToken.py 
Traceback (most recent call last):
  File "GetUserAccessToken.py", line 22, in <module>
    from oauthclient.oauth2api import oauth2api
  File "../oauthclient/oauth2api.py", line 23, in <module>
    import model.util
ModuleNotFoundError: No module named 'model'

A few quick fixes I've tried:

pip3 install python-oauth2
pip3 install pyyaml==5.1.0

Doesn't seem to fix the problem.

@alexb2123
Copy link

same issue

@matecsaj
Copy link

The "Ported to python3" pull request includes a fix for this problem. #6

@sachins301
Copy link

Was this fixed ? I'm stuck at this point. Is this a dead project?

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

4 participants