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

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!

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,699评论 0 10
  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 3,026评论 0 3
  • 顾城说,他写诗是出于对大自然的热爱,他能听懂大自然的语言,诗是他对大自然的回应。 每每读到这里,我都很感动。顾城被...
    蓝主咖阅读 1,022评论 10 22
  • 正常的运动能调动身体的各部分机能,但运动量过大也会产生机体相反的效果,对于女性而言,适当的伸展运动,如瑜伽和完...
    Aaryn阅读 598评论 0 0
  • 炮火的轰鸣声,刺耳的空袭警报声..... 我努力睁开双眼。然而我不得不用几秒钟的时间来让眼睛适应这昏暗的环境。 感...
    巴山电锯阅读 571评论 0 1

友情链接更多精彩内容