ebay-oauth-python-client icon indicating copy to clipboard operation
ebay-oauth-python-client copied to clipboard

ModuleNotFoundError: No module named 'model'

Open mildsauceminds opened this issue 5 years ago • 3 comments
trafficstars

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.

mildsauceminds avatar May 05 '20 16:05 mildsauceminds

same issue

alexb2123 avatar Jun 29 '20 01:06 alexb2123

The "Ported to python3" pull request includes a fix for this problem. https://github.com/eBay/ebay-oauth-python-client/pull/6

matecsaj avatar Dec 20 '20 21:12 matecsaj

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

sachins301 avatar Jun 14 '24 01:06 sachins301