安装tensorflow GPU版本window下,cuda、NVIDIA、 TensorFlow-GPU版本关系
最后一步输出如下,应该是哪里的版本不匹配,
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.
daal4py 2021.5.0 requires daal==2021.4.0, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
tensorflow 2.10.0 requires absl-py>=1.0.0, but you have absl-py 0.15.0 which is incompatible.
tensorflow 2.10.0 requires flatbuffers>=2.0, but you have flatbuffers 1.12 which is incompatible.
tensorflow 2.10.0 requires numpy>=1.20, but you have numpy 1.19.5 which is incompatible.
jupyter-server 1.13.5 requires pywinpty<2; os_name == "nt", but you have pywinpty 2.0.2 which is incompatible.
dask-ml 2022.5.27 requires numpy>=1.20.0, but you have numpy 1.19.5 which is incompatible.
bokeh 2.4.2 requires typing-extensions>=3.10.0, but you have typing-extensions 3.7.4.3 which is incompatible.
Successfully installed absl-py-0.15.0 clang-5.0 flatbuffers-1.12 h5py-3.1.0 numpy-1.19.5 six-1.15.0 tensorflow-gpu-2.6.0 termcolor-1.1.0 typing-extensions-3.7.4.3
决定针对上述error对涉及到的库版本进行改变
但是cpu和gpu版本的tensorflow对这些库的版本要求冲突了,满足gpu不能满足cpu
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 absl-py>=1.0.0, but you have absl-py 0.10.0 which is incompatible.
tensorflow 2.10.0 requires numpy>=1.20, but you have numpy 1.19.5 which is incompatible.
降低tensorflow版本后解决问题(改到tensorflow2.6.0版本+tensorflow-gpu 2.6.0)