安装keras Mask RCNN错误:in console_to_str return s.decode(sys.__stdout__.encoding),UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte
在安装基于keras、tensorflow实现的Mark RCNN时(https://github.com/matterport/Mask_RCNN),出现以下错误:
python365\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
return s.decode(sys.__stdout__.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte
......
python365\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte
安装环境:python3.6.5、keras2.2.4、tensorflow1.12.0
解决办法:
升级pip到最新版本(19.2.1):
python -m pip install --upgrade pip