Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oauth1 - python3
#1
Python3 - Currently trying to sign a HTTP request to access an API, unfortunately I keep running into an issue with requests.

using: https://pypi.python.org/pypi/requests-oauthlib

import requests
from requests_oauthlib import OAuth1
returns: ModuleNotFoundError: No module named 'requests.compat'; 'requests' is not a package

from requests_oauthlib import OAuth1Session
returns: ImportError: cannot import name 'OAuth1Session'

I've been googling for hours and i'm lost
Reply


Messages In This Thread
Oauth1 - python3 - by user256 - Jan-03-2018, 07:22 PM
RE: Oauth1 - python3 - by buran - Jan-03-2018, 07:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  OAuth1 authentication using Requests-OAuthlib failing dataplumber 0 2,224 Feb-20-2020, 11:09 PM
Last Post: dataplumber
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 6,239 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020