requests-oauthlib icon indicating copy to clipboard operation
requests-oauthlib copied to clipboard

ImportError: No module named parse

Open huypxgear opened this issue 1 year ago • 0 comments

There is an issue when updating to the version 1.4.0. It does not work in Python 2.7. The parse does not exist

  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/social/backends/open_id.py", line 12, in <module>
    from social.backends.oauth import BaseOAuth2
  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/social/backends/oauth.py", line 3, in <module>
    from requests_oauthlib import OAuth1
  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/requests_oauthlib/__init__.py", line 5, in <module>
    from .oauth1_session import OAuth1Session
  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/requests_oauthlib/oauth1_session.py", line 1, in <module>
    from urllib.parse import urlparse
ImportError: No module named parse

huypxgear avatar Mar 11 '24 04:03 huypxgear