ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.10.0 requires packaging, which is not installed.
tensorflow 2.10.0 requires tensorflow-io-gcs-filesystem>=0.23.1, which is not installed.
tensorflow 2.10.0 requires numpy>=1.20, but you have numpy 1.18.5 which is incompatible.
tensorflow 2.10.0 requires tensorflow-estimator<2.11,>=2.10.0, but you have tensorflow-estimator 2.3.0 which is incompatible.

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple packaging
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-io-gcs-filesystem
把所有的提示都按照以上方式安装。
博客内容涉及到在安装TensorFlow 2.10.0时遇到的依赖冲突,主要包括对packaging、tensorflow-io-gcs-filesystem、numpy和tensorflow-estimator的版本要求。安装过程中,pip提示已安装的numpy、tensorflow-estimator版本与tensorflow不兼容,需要升级或卸载现有版本以满足依赖。为解决此问题,建议按照提示逐个安装缺失或不兼容的包。
817

被折叠的 条评论
为什么被折叠?



