When I run the following code in Python3.4 on Windows8.1:
r = requests.get(url)
It returns, among other things:
File "C:\Python34\lib\site-packages\requests\sessions.py", line 644, in get_adapter
raise InvalidSchema("No connection adapters were found for '%s'" % url) requests.exceptions.InvalidSchema: No connection adapters were found for '"http://example.com"'
Is this simply a problem with my code, my firewall or something else entirely? How would I go about fixing it?
'localhost:5000'instead of'http://localhost:5000'. In other words, the message seems to be related torequestsnot finding a proper protocol.