关键词

1.Anaconda安装Tensorflow报错UnicodeDecodeError: ‘utf-

安装TensorFlow

pip install --ignore-installed --upgrade tensorflow

报错:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc1 in position 45: invalid start byte

修改:

D:\studySoftware\Anaconda3\Lib\site-packages\pip\compat\_init_.py的

eturn s.decode(sys.__stdout__.encoding)
应改为
return s.decode('cp936')

 

本文链接:http://task.lmcjl.com/news/1547.html

展开阅读全文