我执行了命令pip install tensorflow
。
但是安装给我以下错误。以下是日志的一部分
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
tf-nightly 2.5.0.dev20201102 requires grpcio~=1.32.0, but you'll have grpcio 1.33.2 which is incompatible.
tf-nightly 2.5.0.dev20201102 requires numpy~=1.19.2, but you'll have numpy 1.18.5 which is incompatible.
tensorflow-federated-nightly 0.17.0.dev20201031 requires absl-py~=0.9.0, but you'll have absl-py 0.11.0 which is incompatible.
tensorflow-federated-nightly 0.17.0.dev20201031 requires grpcio~=1.29.0, but you'll have grpcio 1.33.2 which is incompatible.
Successfully installed numpy-1.18.5
在执行上述命令之前,我已经卸载了numpy,grpcio,absl-py。