安装pip时出错

时间:2018-03-10 14:38:02

标签: python-3.x pip

虽然通过pip安装get-pip.py时遇到此错误,但我们将不胜感激。

 C:\Python32>python get-pip.py

Traceback (most recent call last):

  File "get-pip.py", line 20061, in <module>

        main()
  File "get-pip.py", line 194, in main

        bootstrap(tmpdir=tmpdir)

  File "get-pip.py", line 82, in bootstrap

        import pip

  File "c:\users\kanika~1\appdata\local\temp\tmps55rv7\pip.zip\pip\__init__.py", 
  line 21, in <module>

  File "c:\users\kanika~1\appdata\local\temp\tmps55rv7\pip.zip\pip\_vendor\requests\__init__.py", line 66, in <module>

  File "c:\users\kanika~1\appdata\local\temp\tmps55rv7\pip.zip\pip\_vendor\requests\models.py", line 856
    http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url)

                                                      ^
SyntaxError: invalid syntax

0 个答案:

没有答案