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!
网友评论