在 Colab 上为 TensorFlow Federated 设置环境的问题

问题描述

我是联合学习的新手,我正在尝试开始使用 TensorFlow Federated。在 Colab 上编写教程“图像分类的联合学习”时,我尝试安装 TensorFlow Federated,但遇到了以下错误

ERROR: tensorflow 2.5.0 requires tensorboard~=2.5,which is not installed.
ERROR: tensorflow 2.5.0 has requirement grpcio~=1.34.0,but you'll have grpcio 1.37.1 which is incompatible.
ERROR: tensorflow 2.5.0 has requirement keras-nightly~=2.5.0.dev,but you'll have keras-nightly 2.6.0.dev2021062500 which is incompatible.
ERROR: spacy 2.2.4 has requirement tqdm<5.0.0,>=4.38.0,but you'll have tqdm 4.28.1 which is incompatible.
ERROR: pymc3 3.11.2 has requirement cachetools>=4.2.1,but you'll have cachetools 3.1.1 which is incompatible.
ERROR: fbprophet 0.7.1 has requirement tqdm>=4.36.1,but you'll have tqdm 4.28.1 which is incompatible.
ERROR: datascience 0.10.6 has requirement folium==0.2.1,but you'll have folium 0.8.3 which is incompatible.
ERROR: tensorflow-privacy 0.6.1 has requirement attrs>=21.2.0,but you'll have attrs 19.3.0 which is incompatible.

安装这里提到的库的版本后,我发现与安装的库仍然存在一些内部冲突。有没有其他人遇到过这个问题?能得到这方面的一些指示会很棒!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...