I'm trying to get requests working. I'm just trying line one from the documentation, here: http://docs.python-requests.org/en/master/ so I am assuming I have a bad install somehow?
Here is the example from the above:
import requests
r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
I wouldn't think I'd get this kind of behavior from the first example provided in the docs.
I just get an infinite recursion from requests.get().
File "C:\Python27\lib\requests.py", line 144, in get
return requests.get(url, **kwargs)
File "C:\Python27\lib\requests.py", line 144, in get
return requests.get(url, **kwargs)
File "C:\Python27\lib\requests.py", line 143, in get
with ignore_insecure_warning(**kwargs):
File "C:\Python27\lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "C:\Python27\lib\requests.py", line 103, in ignore_insecure_warning
with warnings.catch_warnings():
RuntimeError: maximum recursion depth exceeded
I wonder if somehow I have python or the libraries installed incorrectly because I'm also get errors related to pip
pip install anythingAtAll
opens my Atom text editor with the tabs: "get-pip.py", "Install" & "anythingAtAll" but doesn't install.
If I uninstall atom, pip works fine. I haven't seen these behaviors on other machines. I tried a fresh install of python & atom that didn't resolve the pip errors.