No matter what I do, I can't seem to get aroud this error. I take the code from the examples (subsituting the arguments with the name of my own site):
import requests
import sharepy
auth = sharepy.auth.SharePointOnline(username="user@example.com")
auth.login(site="example.sharepoint.com")
r = requests.get("https://example.sharepoint.com", auth=auth)
Adding 'https://' or 'http://' to the site argument of auth.login does not change anything.
Python: 3.9.13
requests: 2.28.1
sharepy: 2.0.0
trace in attached file, beginning directly after entering my password at the prompt.
sharepy_auth_login_missing_schema.txt