安装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')
05-11 15:36