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

client.py fails with import error #1

Open
dbrnz opened this issue Sep 10, 2021 · 0 comments
Open

client.py fails with import error #1

dbrnz opened this issue Sep 10, 2021 · 0 comments

Comments

@dbrnz
Copy link

dbrnz commented Sep 10, 2021

  .
  .
  File "/Users/dave/Library/Caches/pypoetry/virtualenvs/flatmap-lab-jKQ9tODe-py3.8/lib/python3.8/site-packages/pmr2/client/client.py", line 5, in <module>
    from oauthlib.common import unicode_type
ImportError: cannot import name 'unicode_type' from 'oauthlib.common' (/Users/dave/Library/Caches/pypoetry/virtualenvs/flatmap-lab-jKQ9tODe-py3.8/lib/python3.8/site-packages/oauthlib/common.py)

It turns out that oauthlib version 3.1.1 has dropped support for Python 2.7 and removed unicode_type (see oauthlib/oauthlib#734).

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

1 participant