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

requests_oauthlib: AttributeError: 'module' object has no attribute 'NullHandler' #1

Open
blinvisible opened this issue Jun 28, 2018 · 0 comments

Comments

@blinvisible
Copy link

blinvisible commented Jun 28, 2018

Getting this requests_oauthlib error when attempting to run dep_demo.py:

# python dep_demo.py ../stoken.json 
Traceback (most recent call last):
  File "dep_demo.py", line 10, in <module>
    from depy import DEPy
  File "/depy/depy.py", line 66, in <module>
    from requests_oauthlib import OAuth1Session
  File "/usr/lib/python2.6/site-packages/requests_oauthlib/__init__.py", line 16, in <module>
    logging.getLogger('requests_oauthlib').addHandler(logging.NullHandler())
AttributeError: 'module' object has no attribute 'NullHandler'

Using the platform:

  • RHEL 2.6.32-696.23.1.el6.x86_64
  • Python 2.6.6
  • oauthlib-2.1.0
  • requests-2.19.1
  • requests-oauthlib-1.0.0

Any guidance is appreciated.

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