Linux Tensorflow安装报错 Cannot uninstall wrapt

149 阅读1分钟

安装 Tensorflow 过程中遇到这个问题

解决方法:

pip install wrapt --ignore-installed

再继续安装 TensorFlow 即可,可用 pip 镜像安装,快很多:

pip install --trusted-host mirrors.aliyun.com scrapy -i  http://mirrors.aliyun.com/pypi/simple/  matplotlib==2.2.2 tensorflow==2.5.0