python 安装tensorflow 总是出现 termcolor 错误,从网上找方法五花八门,此处提供一种简单的方式(There are always termcolor errors when installing tensorflow in Python. There are many ways to find them from the Internet. Here is a simple way)

//   Python Extension Packages for Windows – Christoph Gohlke (uci.edu)

安装tensorflow 之前 先安装 termcolor 此处是我自己存放在博客园上的地址

https://files-cdn.cnblogs.com/files/RYSBlog/termcolor-1.1.0-py2.py3-none-any.whl.zip

下载好了之后 安装

 先到安装目录 再 pip install termcolor-1.1.0-py2.py3-none-any.whl

之后安装 tensorflow

pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/

pip install torch -i https://pypi.tuna.tsinghua.edu.cn/simple/

//

————————

//   Python Extension Packages for Windows – Christoph Gohlke (uci.edu)

Install termcolor before installing tensorflow. Here is my address on the blog

https://files-cdn.cnblogs.com/files/RYSBlog/termcolor-1.1.0-py2.py3-none-any.whl.zip

Install after downloading

First go to the installation directory and then PIP install termcolor-1.1.0-py2 py3-none-any. whl

Then install tensorflow

pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/

pip install torch -i https://pypi.tuna.tsinghua.edu.cn/simple/

//