リクエストを処理しようとしています。私はドキュメントの1行目を試しています。 http://docs.python-requests.org/en/master/だから、何とかインストールしていないと思いますか?ここでpython27 requests.get()再帰
は、上記の例である:
import requests
r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
私は、ドキュメント内に設けられた第1の例から行動のこの種を取得したいと思わないでしょう。
私はちょうどrequests.get()から無限の再帰を取得します。
私もエラーがpip install anythingAtAll
をピップに関連しますよ タブと私のアトムのテキストエディタが開きますので、何とか私はPythonや間違ってインストールされたライブラリを持っている場合、私は疑問に思う
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
は、「get-ピップを.py "、" Install "&" anythingAtAll "がインストールされません。
アトムをアンインストールすると、pipは正常に動作します。私は他のマシンでこれらの動作を見ていません。私はpipエラーを解決しなかったpython &アトムの新規インストールを試みました。
サウンズ –
'requests.py'は' python-requests.org'の文書であるため、* package *であるため、Pythonインストールツールではなく、ファイルを開くためにAtomに関連付けられています。 –
さらに '' C:\ Python27 \ lib \ site-packages'に '' C:\ Python27 \ lib'ではなく ''要求 ''が存在すると思っています。 –