美文网首页
Exception ignored in: <_io.TextI

Exception ignored in: <_io.TextI

作者: 享受健身和阅读 | 来源:发表于2019-03-21 10:57 被阅读0次

    C:\Users\xxxxx>python -m pip install --upgrade pip

    Collecting pip

      Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)

    Could not install packages due to an EnvironmentError: [WinError 87] The parameter is incorrect

    You are using pip version 19.0.2, however version 19.0.3 is available.

    You should consider upgrading via the 'python -m pip install --upgrade pip' command.

    Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>

    OSError: [WinError 87] The parameter is incorrect

    升级pip的时候一直提示这个错误信息。如何解决呢?

    需要修改系统语言 

    Control Panel -> Language & Region -> Administrative -> Change system locale..

    change the current system locale as Chinese(Simplified, PRC)

    Restart!

    相关文章

      网友评论

          本文标题:Exception ignored in: <_io.TextI

          本文链接:https://www.haomeiwen.com/subject/bigfvqtx.html