ERROR: pip‘s dependency resolver does not currently take into account 异常解决办法

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-gpu 2.6.0 requires numpy~=1.19.2, but you have numpy 1.24.2 which is incompatible.tensorflow-gpu 2.6.0 requires six~=1.15.0, but you have six 1.16.0 which is incompatible.

原因:numpy和six版本与tensorflow-gpu 2.6.0不匹配,安装匹配的版本即可解决

ERROR: pip‘s dependency resolver does not currently take into account 异常解决办法_第1张图片

解决办法:

pip install numpy=1.19.2

pip install six==1.15.0

你可能感兴趣的:(深度学习,算法,人工智能,pip,numpy,python)