PIP安装请求运行时错误:超过python 2.7中的最大递归深度

PIP安装请求运行时错误:超过python 2.7中的最大递归深度,python,Python,我是python新手,面临以下问题 当我试图使用命令PIP install request安装请求模块时,出现了错误 RuntimeError: maximum recursion depth exceeded ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\users\sandeep_kumar39\appdata\loca

我是python新手,面临以下问题

当我试图使用命令PIP install request安装请求模块时,出现了错误

RuntimeError: maximum recursion depth exceeded

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in  
C:\users\sandeep_kumar39\appdata\local\temp\pip-build-gzzphx\setupfiles\
Python版本是2.7.12 我已经使用命令
pip install--upgrade distribute升级了分发包

并通过使用命令
pip install--upgrade pip

错误的完整输出:

C:\Python27\Scripts>pip install request
Collecting request
  Using cached request-0.0.12.tar.gz
Collecting get (from request)
  Using cached get-0.0.20.tar.gz
Collecting post (from request)
  Using cached post-0.0.12.tar.gz
Collecting setupfiles (from request)
  Using cached setupfiles-0.0.16.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\sandeep_kumar39\appdata\local\temp\pip-build-3gsgdg\setupfiles\setup.py", line 4, in <module>
        from setupfiles import setup
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
            File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 18, in <module>
        import setupfiles # nopep8
      File "setupfiles.py", line 11, in <module>
        dirname = os.path.abspath(os.path.dirname(__file__))
      File "c:\python27\lib\ntpath.py", line 215, in dirname
        return split(p)[0]
      File "c:\python27\lib\ntpath.py", line 180, in split
        d, p = splitdrive(p)
    RuntimeError: maximum recursion depth exceeded

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\sandeep_kumar39\appdata\local\temp\pip-build-3gsgdg\setupfiles\
C:\Python27\Scripts>pip安装请求
收款请求
使用缓存的请求-0.0.12.tar.gz
正在收集get(来自请求)
使用缓存的get-0.0.20.tar.gz
收集邮件(来自请求)
使用缓存的post-0.0.12.tar.gz
正在收集设置文件(从请求)
使用缓存的setupfiles-0.0.16.tar.gz
从命令python setup.py egg_info完成输出:
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“c:\users\sandeep\u kumar39\appdata\local\temp\pip-build-3gsgdg\setupfiles\setup.py”,第4行,在
从设置文件导入设置
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第18行,在
导入设置文件#nopep8
文件“setupfiles.py”,第11行,在
dirname=os.path.abspath(os.path.dirname(_文件__))
文件“c:\python27\lib\ntpath.py”,第215行,目录名
收益分割(p)[0]
文件“c:\python27\lib\ntpath.py”,第180行,拆分
d、 p=拆分驱动器(p)
运行时错误:超过最大递归深度
----------------------------------------
命令“python setup.py egg\u info”在c:\users\sandeep\u kumar39\appdata\local\temp\pip-build-3gsgdg\setupfiles中失败,错误代码为1\

这似乎是由于的最新版本中出现的,这取决于。在尝试安装
请求之前,您可以先使用
pip install setupfiles==0.0.14安装setupfiles的0.0.14版,然后再尝试安装
请求
,这似乎是由于的最新版本,具体取决于。在尝试安装
request

之前,您可以先使用
pip install setupfiles==0.0.14安装0.0.14版setupfiles,然后再尝试安装
request

给出错误的完整输出和执行的行,这将有助于我编辑带有完整输出错误的问题。你真的想安装而不是安装吗?是的..我想安装请求提供错误的完整输出和执行的行,这将有助于我编辑了带有完整输出错误的问题。你真的想安装而不是安装吗?是的..我想安装RequestThank..它现在已安装:)谢谢..它现在已安装:)